libLAS API Reference (svn-trunk)
liblas::IndexData Class Reference

#include <index.hpp>

Collaboration diagram for liblas::IndexData:
Collaboration graph

Public Member Functions

 IndexData (void)
 IndexData (Index const &index)
bool SetInitialValues (std::istream *ifs=0, Reader *reader=0, std::ostream *ofs=0, Reader *idxreader=0, const char *tmpfilenme=0, const char *indexauthor=0, const char *indexcomment=0, const char *indexdate=0, double zbinht=0.0, uint32_t maxmem=LIBLAS_INDEX_MAXMEMDEFAULT, int debugoutputlevel=0, bool readonly=0, bool writestandaloneindex=0, bool forcenewindex=0, FILE *debugger=0)
bool SetBuildEmbedValues (Reader *reader, std::ostream *ofs, const char *tmpfilenme, const char *indexauthor=0, const char *indexcomment=0, const char *indexdate=0, double zbinht=0.0, uint32_t maxmem=LIBLAS_INDEX_MAXMEMDEFAULT, int debugoutputlevel=0, FILE *debugger=0)
bool SetBuildAloneValues (Reader *reader, std::ostream *ofs, const char *tmpfilenme, const char *indexauthor=0, const char *indexcomment=0, const char *indexdate=0, double zbinht=0.0, uint32_t maxmem=LIBLAS_INDEX_MAXMEMDEFAULT, int debugoutputlevel=0, FILE *debugger=0)
bool SetReadEmbedValues (Reader *reader, int debugoutputlevel=0, FILE *debugger=0)
bool SetReadAloneValues (Reader *reader, Reader *idxreader, int debugoutputlevel=0, FILE *debugger=0)
bool SetReadOrBuildEmbedValues (Reader *reader, std::ostream *ofs, const char *tmpfilenme, const char *indexauthor=0, const char *indexcomment=0, const char *indexdate=0, double zbinht=0.0, uint32_t maxmem=LIBLAS_INDEX_MAXMEMDEFAULT, int debugoutputlevel=0, FILE *debugger=0)
bool SetReadOrBuildAloneValues (Reader *reader, std::ostream *ofs, const char *tmpfilenme, const char *indexauthor=0, const char *indexcomment=0, const char *indexdate=0, double zbinht=0.0, uint32_t maxmem=LIBLAS_INDEX_MAXMEMDEFAULT, int debugoutputlevel=0, FILE *debugger=0)
bool SetFilterValues (double LowFilterX, double HighFilterX, double LowFilterY, double HighFilterY, double LowFilterZ, double HighFilterZ, Index const &index)
bool SetFilterValues (Bounds< double > const &src, Index const &index)
 IndexData (IndexData const &other)
 Copy constructor.
IndexData & operator= (IndexData const &rhs)
 Assignment operator.
double GetCellSizeZ (void) const
FILE * GetDebugger (void) const
bool GetReadOnly (void) const
bool GetStandaloneIndex (void) const
bool GetForceNewIndex (void) const
uint32_t GetMaxMemoryUsage (void) const
Reader * GetReader (void) const
int GetDebugOutputLevel (void) const
const char * GetTempFileName (void) const
const char * GetIndexAuthorStr (void) const
const char * GetIndexCommentStr (void) const
const char * GetIndexDateStr (void) const
double GetMinFilterX (void) const
double GetMaxFilterX (void) const
double GetMinFilterY (void) const
double GetMaxFilterY (void) const
double GetMinFilterZ (void) const
double GetMaxFilterZ (void) const
void ClampFilterBounds (Bounds< double > const &m_bounds)
void SetReader (Reader *reader)
void SetIStream (std::istream *ifs)
void SetOStream (std::ostream *ofs)
void SetTmpFileName (const char *tmpfilenme)
void SetIndexAuthor (const char *indexauthor)
void SetIndexComment (const char *indexcomment)
void SetIndexDate (const char *indexdate)
void SetCellSizeZ (double cellsizez)
void SetMaxMem (uint32_t maxmem)
void SetDebugOutputLevel (int debugoutputlevel)
void SetReadOnly (bool readonly)
void SetStandaloneIndex (bool writestandaloneindex)
void SetDebugger (FILE *debugger)

Protected Member Functions

void SetIterator (IndexIterator *setIt)
IndexIterator * GetIterator (void)

Protected Attributes

Reader * m_reader
Reader * m_idxreader
IndexIterator * m_iterator
Bounds< double > m_filter
std::istream * m_ifs
std::ostream * m_ofs
const char * m_tempFileName
const char * m_indexAuthor
const char * m_indexComment
const char * m_indexDate
double m_cellSizeZ
double m_LowXBorderPartCell
double m_HighXBorderPartCell
double m_LowYBorderPartCell
double m_HighYBorderPartCell
int32_t m_LowXCellCompletelyIn
int32_t m_HighXCellCompletelyIn
int32_t m_LowYCellCompletelyIn
int32_t m_HighYCellCompletelyIn
int32_t m_LowZCellCompletelyIn
int32_t m_HighZCellCompletelyIn
int32_t m_LowXBorderCell
int32_t m_HighXBorderCell
int32_t m_LowYBorderCell
int32_t m_HighYBorderCell
int32_t m_LowZBorderCell
int32_t m_HighZBorderCell
uint32_t m_maxMemoryUsage
int m_debugOutputLevel
bool m_noFilterX
bool m_noFilterY
bool m_noFilterZ
bool m_readOnly
bool m_writestandaloneindex
bool m_forceNewIndex
bool m_indexValid
FILE * m_debugger

Friends

class Index
class IndexIterator

Constructor & Destructor Documentation

◆ IndexData() [1/3]

liblas::IndexData::IndexData ( void )

Referenced by IndexData(), and operator=().

Here is the caller graph for this function:

◆ IndexData() [2/3]

liblas::IndexData::IndexData ( Index const & index)

References Index.

Here is the call graph for this function:

◆ IndexData() [3/3]

liblas::IndexData::IndexData ( IndexData const & other)

Copy constructor.

References IndexData().

Here is the call graph for this function:

Member Function Documentation

◆ ClampFilterBounds()

void liblas::IndexData::ClampFilterBounds ( Bounds< double > const & m_bounds)

◆ GetCellSizeZ()

double liblas::IndexData::GetCellSizeZ ( void ) const
inline

References m_cellSizeZ.

◆ GetDebugger()

FILE * liblas::IndexData::GetDebugger ( void ) const
inline

References m_debugger.

◆ GetDebugOutputLevel()

int liblas::IndexData::GetDebugOutputLevel ( void ) const
inline

References m_debugOutputLevel.

◆ GetForceNewIndex()

bool liblas::IndexData::GetForceNewIndex ( void ) const
inline

References m_forceNewIndex.

◆ GetIndexAuthorStr()

const char * liblas::IndexData::GetIndexAuthorStr ( void ) const

◆ GetIndexCommentStr()

const char * liblas::IndexData::GetIndexCommentStr ( void ) const

◆ GetIndexDateStr()

const char * liblas::IndexData::GetIndexDateStr ( void ) const

◆ GetIterator()

IndexIterator * liblas::IndexData::GetIterator ( void )
inlineprotected

References IndexIterator, and m_iterator.

Here is the call graph for this function:

◆ GetMaxFilterX()

double liblas::IndexData::GetMaxFilterX ( void ) const
inline

References m_filter.

◆ GetMaxFilterY()

double liblas::IndexData::GetMaxFilterY ( void ) const
inline

References m_filter.

◆ GetMaxFilterZ()

double liblas::IndexData::GetMaxFilterZ ( void ) const
inline

References m_filter.

◆ GetMaxMemoryUsage()

uint32_t liblas::IndexData::GetMaxMemoryUsage ( void ) const
inline

References m_maxMemoryUsage.

◆ GetMinFilterX()

double liblas::IndexData::GetMinFilterX ( void ) const
inline

References m_filter.

◆ GetMinFilterY()

double liblas::IndexData::GetMinFilterY ( void ) const
inline

References m_filter.

◆ GetMinFilterZ()

double liblas::IndexData::GetMinFilterZ ( void ) const
inline

References m_filter.

◆ GetReader()

Reader * liblas::IndexData::GetReader ( void ) const
inline

References m_reader.

◆ GetReadOnly()

bool liblas::IndexData::GetReadOnly ( void ) const
inline

References m_readOnly.

◆ GetStandaloneIndex()

bool liblas::IndexData::GetStandaloneIndex ( void ) const
inline

◆ GetTempFileName()

const char * liblas::IndexData::GetTempFileName ( void ) const
inline

References m_tempFileName.

◆ operator=()

IndexData & liblas::IndexData::operator= ( IndexData const & rhs)

Assignment operator.

References IndexData().

Here is the call graph for this function:

◆ SetBuildAloneValues()

bool liblas::IndexData::SetBuildAloneValues ( Reader * reader,
std::ostream * ofs,
const char * tmpfilenme,
const char * indexauthor = 0,
const char * indexcomment = 0,
const char * indexdate = 0,
double zbinht = 0.0,
uint32_t maxmem = LIBLAS_INDEX_MAXMEMDEFAULT,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetBuildEmbedValues()

bool liblas::IndexData::SetBuildEmbedValues ( Reader * reader,
std::ostream * ofs,
const char * tmpfilenme,
const char * indexauthor = 0,
const char * indexcomment = 0,
const char * indexdate = 0,
double zbinht = 0.0,
uint32_t maxmem = LIBLAS_INDEX_MAXMEMDEFAULT,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetCellSizeZ()

void liblas::IndexData::SetCellSizeZ ( double cellsizez)
inline

References m_cellSizeZ.

◆ SetDebugger()

void liblas::IndexData::SetDebugger ( FILE * debugger)
inline

References m_debugger.

◆ SetDebugOutputLevel()

void liblas::IndexData::SetDebugOutputLevel ( int debugoutputlevel)
inline

References m_debugOutputLevel.

◆ SetFilterValues() [1/2]

bool liblas::IndexData::SetFilterValues ( Bounds< double > const & src,
Index const & index )

References Index.

Here is the call graph for this function:

◆ SetFilterValues() [2/2]

bool liblas::IndexData::SetFilterValues ( double LowFilterX,
double HighFilterX,
double LowFilterY,
double HighFilterY,
double LowFilterZ,
double HighFilterZ,
Index const & index )

References Index.

Here is the call graph for this function:

◆ SetIndexAuthor()

void liblas::IndexData::SetIndexAuthor ( const char * indexauthor)
inline

References m_indexAuthor.

◆ SetIndexComment()

void liblas::IndexData::SetIndexComment ( const char * indexcomment)
inline

References m_indexComment.

◆ SetIndexDate()

void liblas::IndexData::SetIndexDate ( const char * indexdate)
inline

References m_indexDate.

◆ SetInitialValues()

bool liblas::IndexData::SetInitialValues ( std::istream * ifs = 0,
Reader * reader = 0,
std::ostream * ofs = 0,
Reader * idxreader = 0,
const char * tmpfilenme = 0,
const char * indexauthor = 0,
const char * indexcomment = 0,
const char * indexdate = 0,
double zbinht = 0.0,
uint32_t maxmem = LIBLAS_INDEX_MAXMEMDEFAULT,
int debugoutputlevel = 0,
bool readonly = 0,
bool writestandaloneindex = 0,
bool forcenewindex = 0,
FILE * debugger = 0 )

◆ SetIStream()

void liblas::IndexData::SetIStream ( std::istream * ifs)
inline

References m_ifs.

◆ SetIterator()

void liblas::IndexData::SetIterator ( IndexIterator * setIt)
inlineprotected

References IndexIterator, and m_iterator.

Here is the call graph for this function:

◆ SetMaxMem()

void liblas::IndexData::SetMaxMem ( uint32_t maxmem)
inline

References m_maxMemoryUsage.

◆ SetOStream()

void liblas::IndexData::SetOStream ( std::ostream * ofs)
inline

References m_ofs.

◆ SetReadAloneValues()

bool liblas::IndexData::SetReadAloneValues ( Reader * reader,
Reader * idxreader,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetReadEmbedValues()

bool liblas::IndexData::SetReadEmbedValues ( Reader * reader,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetReader()

void liblas::IndexData::SetReader ( Reader * reader)
inline

References m_reader.

◆ SetReadOnly()

void liblas::IndexData::SetReadOnly ( bool readonly)
inline

References m_readOnly.

◆ SetReadOrBuildAloneValues()

bool liblas::IndexData::SetReadOrBuildAloneValues ( Reader * reader,
std::ostream * ofs,
const char * tmpfilenme,
const char * indexauthor = 0,
const char * indexcomment = 0,
const char * indexdate = 0,
double zbinht = 0.0,
uint32_t maxmem = LIBLAS_INDEX_MAXMEMDEFAULT,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetReadOrBuildEmbedValues()

bool liblas::IndexData::SetReadOrBuildEmbedValues ( Reader * reader,
std::ostream * ofs,
const char * tmpfilenme,
const char * indexauthor = 0,
const char * indexcomment = 0,
const char * indexdate = 0,
double zbinht = 0.0,
uint32_t maxmem = LIBLAS_INDEX_MAXMEMDEFAULT,
int debugoutputlevel = 0,
FILE * debugger = 0 )

◆ SetStandaloneIndex()

void liblas::IndexData::SetStandaloneIndex ( bool writestandaloneindex)
inline

◆ SetTmpFileName()

void liblas::IndexData::SetTmpFileName ( const char * tmpfilenme)
inline

References m_tempFileName.

◆ Index

friend class Index
friend

References Index.

Referenced by Index, IndexData(), SetFilterValues(), and SetFilterValues().

◆ IndexIterator

friend class IndexIterator
friend

References IndexIterator.

Referenced by GetIterator(), IndexIterator, and SetIterator().

Member Data Documentation

◆ m_cellSizeZ

double liblas::IndexData::m_cellSizeZ
protected

Referenced by GetCellSizeZ(), and SetCellSizeZ().

◆ m_debugger

FILE* liblas::IndexData::m_debugger
protected

Referenced by GetDebugger(), and SetDebugger().

◆ m_debugOutputLevel

int liblas::IndexData::m_debugOutputLevel
protected

◆ m_filter

Bounds<double> liblas::IndexData::m_filter
protected

◆ m_forceNewIndex

bool liblas::IndexData::m_forceNewIndex
protected

Referenced by GetForceNewIndex().

◆ m_HighXBorderCell

int32_t liblas::IndexData::m_HighXBorderCell
protected

◆ m_HighXBorderPartCell

double liblas::IndexData::m_HighXBorderPartCell
protected

◆ m_HighXCellCompletelyIn

int32_t liblas::IndexData::m_HighXCellCompletelyIn
protected

◆ m_HighYBorderCell

int32_t liblas::IndexData::m_HighYBorderCell
protected

◆ m_HighYBorderPartCell

double liblas::IndexData::m_HighYBorderPartCell
protected

◆ m_HighYCellCompletelyIn

int32_t liblas::IndexData::m_HighYCellCompletelyIn
protected

◆ m_HighZBorderCell

int32_t liblas::IndexData::m_HighZBorderCell
protected

◆ m_HighZCellCompletelyIn

int32_t liblas::IndexData::m_HighZCellCompletelyIn
protected

◆ m_idxreader

Reader* liblas::IndexData::m_idxreader
protected

◆ m_ifs

std::istream* liblas::IndexData::m_ifs
protected

Referenced by SetIStream().

◆ m_indexAuthor

const char* liblas::IndexData::m_indexAuthor
protected

Referenced by SetIndexAuthor().

◆ m_indexComment

const char* liblas::IndexData::m_indexComment
protected

Referenced by SetIndexComment().

◆ m_indexDate

const char* liblas::IndexData::m_indexDate
protected

Referenced by SetIndexDate().

◆ m_indexValid

bool liblas::IndexData::m_indexValid
protected

◆ m_iterator

IndexIterator* liblas::IndexData::m_iterator
protected

Referenced by GetIterator(), and SetIterator().

◆ m_LowXBorderCell

int32_t liblas::IndexData::m_LowXBorderCell
protected

◆ m_LowXBorderPartCell

double liblas::IndexData::m_LowXBorderPartCell
protected

◆ m_LowXCellCompletelyIn

int32_t liblas::IndexData::m_LowXCellCompletelyIn
protected

◆ m_LowYBorderCell

int32_t liblas::IndexData::m_LowYBorderCell
protected

◆ m_LowYBorderPartCell

double liblas::IndexData::m_LowYBorderPartCell
protected

◆ m_LowYCellCompletelyIn

int32_t liblas::IndexData::m_LowYCellCompletelyIn
protected

◆ m_LowZBorderCell

int32_t liblas::IndexData::m_LowZBorderCell
protected

◆ m_LowZCellCompletelyIn

int32_t liblas::IndexData::m_LowZCellCompletelyIn
protected

◆ m_maxMemoryUsage

uint32_t liblas::IndexData::m_maxMemoryUsage
protected

Referenced by GetMaxMemoryUsage(), and SetMaxMem().

◆ m_noFilterX

bool liblas::IndexData::m_noFilterX
protected

◆ m_noFilterY

bool liblas::IndexData::m_noFilterY
protected

◆ m_noFilterZ

bool liblas::IndexData::m_noFilterZ
protected

◆ m_ofs

std::ostream* liblas::IndexData::m_ofs
protected

Referenced by SetOStream().

◆ m_reader

Reader* liblas::IndexData::m_reader
protected

Referenced by GetReader(), and SetReader().

◆ m_readOnly

bool liblas::IndexData::m_readOnly
protected

Referenced by GetReadOnly(), and SetReadOnly().

◆ m_tempFileName

const char* liblas::IndexData::m_tempFileName
protected

Referenced by GetTempFileName(), and SetTmpFileName().

◆ m_writestandaloneindex

bool liblas::IndexData::m_writestandaloneindex
protected

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