Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

PosInfo::Survey2D Class Reference

Repository for 2D line geometries. More...

Inheritance diagram for PosInfo::Survey2D:
CallBacker

List of all members.

Public Member Functions

bool isEmpty () const
bool hasLineSet (const char *) const
bool hasLine (const char *lnm, const char *lsnm=0) const
void getLineSets (BufferStringSet &nms) const
void getLines (BufferStringSet &, const char *lsnm=0) const
const char * curLineSet () const
void setCurLineSet (const char *) const
bool getGeometry (Line2DData &) const
 using lineName()
bool setGeometry (const Line2DData &)
void removeLine (const char *)
void removeLineSet (const char *)
void renameLineSet (const char *, const char *)
const char * getLineSet (int lsid) const
const char * getLineName (int lineid) const
int getLineSetID (const char *) const
int getLineID (const char *) const
bool hasLineSet (int lsid) const
bool hasLine (int lineid, int lsid=-1) const
void getLineIDs (TypeSet< int > &, int lsid) const
int curLineSetID () const
void setCurLineSet (int lsid) const
bool getGeometry (int lid, Line2DData &) const
void removeLine (int lid)
void removeLineSet (int lsid)
GeomID getGeomID (const char *lsnm, const char *linenm) const
 ~Survey2D ()

Protected Member Functions

int getNewID (IOPar &)
void updateMaxID (int, IOPar &)

Private Member Functions

void readIdxFiles ()
void writeIdxFile (bool) const
void getKeys (const IOPar &, BufferStringSet &) const
void getIDs (const IOPar &, TypeSet< int > &) const
BufferString getNewStorageName (const char *, const FilePath &, const IOPar &) const
int getLineSetIdx (int lsid) const
int getLineIdx (int lineid) const
 Survey2D ()

Static Private Member Functions

static void readIdxFile (const char *, IOPar &)

Private Attributes

FilePathbasefp_
FilePathlsfp_
BufferString lsnm_
IOParlsindex_
IOParlineindex_

Friends

Survey2DPOS2DAdmin ()

Detailed Description

Repository for 2D line geometries.

You can access it using S2DPOS() (or PosInfo::POS2DAdmin()).


Constructor & Destructor Documentation

PosInfo::Survey2D::Survey2D (  )  [private]
PosInfo::Survey2D::~Survey2D (  ) 

Member Function Documentation

const char* PosInfo::Survey2D::curLineSet (  )  const [inline]
int PosInfo::Survey2D::curLineSetID (  )  const
bool PosInfo::Survey2D::getGeometry ( Line2DData  )  const

using lineName()

bool PosInfo::Survey2D::getGeometry ( int  lid,
Line2DData  
) const
GeomID PosInfo::Survey2D::getGeomID ( const char *  lsnm,
const char *  linenm 
) const
void PosInfo::Survey2D::getIDs ( const IOPar ,
TypeSet< int > &   
) const [private]
void PosInfo::Survey2D::getKeys ( const IOPar ,
BufferStringSet  
) const [private]
int PosInfo::Survey2D::getLineID ( const char *   )  const
void PosInfo::Survey2D::getLineIDs ( TypeSet< int > &  ,
int  lsid 
) const
int PosInfo::Survey2D::getLineIdx ( int  lineid  )  const [private]
const char* PosInfo::Survey2D::getLineName ( int  lineid  )  const
void PosInfo::Survey2D::getLines ( BufferStringSet ,
const char *  lsnm = 0 
) const
const char* PosInfo::Survey2D::getLineSet ( int  lsid  )  const
int PosInfo::Survey2D::getLineSetID ( const char *   )  const
int PosInfo::Survey2D::getLineSetIdx ( int  lsid  )  const [private]
void PosInfo::Survey2D::getLineSets ( BufferStringSet nms  )  const [inline]
int PosInfo::Survey2D::getNewID ( IOPar  )  [protected]
BufferString PosInfo::Survey2D::getNewStorageName ( const char *  ,
const FilePath ,
const IOPar  
) const [private]
bool PosInfo::Survey2D::hasLine ( int  lineid,
int  lsid = -1 
) const
bool PosInfo::Survey2D::hasLine ( const char *  lnm,
const char *  lsnm = 0 
) const
bool PosInfo::Survey2D::hasLineSet ( int  lsid  )  const
bool PosInfo::Survey2D::hasLineSet ( const char *   )  const
bool PosInfo::Survey2D::isEmpty (  )  const [inline]
static void PosInfo::Survey2D::readIdxFile ( const char *  ,
IOPar  
) [static, private]
void PosInfo::Survey2D::readIdxFiles (  )  [private]
void PosInfo::Survey2D::removeLine ( const char *   ) 
void PosInfo::Survey2D::removeLine ( int  lid  ) 
void PosInfo::Survey2D::removeLineSet ( const char *   ) 
void PosInfo::Survey2D::removeLineSet ( int  lsid  ) 
void PosInfo::Survey2D::renameLineSet ( const char *  ,
const char *   
)
void PosInfo::Survey2D::setCurLineSet ( int  lsid  )  const
void PosInfo::Survey2D::setCurLineSet ( const char *   )  const
bool PosInfo::Survey2D::setGeometry ( const Line2DData  ) 
void PosInfo::Survey2D::updateMaxID ( int  ,
IOPar  
) [protected]
void PosInfo::Survey2D::writeIdxFile ( bool   )  const [private]

Friends And Related Function Documentation

Survey2D& POS2DAdmin (  )  [friend]

Member Data Documentation