Gaia
gaia2::Segment Class Reference

A segment is a physical contiguous location of descriptors of the same type in the point layout. More...

#include <region.h>

Public Member Functions

 Segment (QString name, DescriptorType type)
 
 Segment (QString name, DescriptorType type, DescriptorLengthType ltype, int begin, int end)
 
bool operator== (const Segment &rhs) const
 
bool operator< (const Segment &rhs) const
 
int size () const
 
QString toString () const
 

Public Attributes

QString name
 
DescriptorType type
 
DescriptorLengthType ltype
 
int begin
 
int end
 

Static Public Attributes

static Segment undefined
 Defines a default undefined Segment.
 

Friends

QDataStream & operator<< (QDataStream &out, const Segment &segment)
 
QDataStream & operator>> (QDataStream &in, Segment &segment)
 

Detailed Description

A segment is a physical contiguous location of descriptors of the same type in the point layout.

It has an additional property which is whether the segment is to be taken in the fixed-length or variable-length part of the data (for memory optimization reasons).


The documentation for this class was generated from the following files: