GLIMSView Source Code Documentation

ODLTree Class Reference

#include <odltree.h>

List of all members.


Detailed Description

Definition at line 8 of file odltree.h.


Public Member Functions

 ODLTree ()
 ODLTree (std::string name, ODLTYPE type)
std::string getName () const
void setName (const std::string &name)
ODLTYPE getType () const
void setType (const ODLTYPE &type)
std::vector< ODLTreegetChildSet () const
void addChild (const ODLTree &chld)
ODLTreegetChild (int iChld) const
ODLTreegetLastChild ()
int getNumChild () const
void addElem (const ODLElement &elm)
ODLElementgetElem (int iElem) const
int getNumElem () const

Protected Attributes

std::string mName
ODLTYPE mType
std::vector< ODLTreemChld
std::vector< ODLElementmElem
bool mValid

Constructor & Destructor Documentation

ODLTree::ODLTree (  )  [inline]

Definition at line 17 of file odltree.h.

References mValid.

ODLTree::ODLTree ( std::string  name,
ODLTYPE  type 
) [inline]

Definition at line 23 of file odltree.h.

References mValid.


Member Function Documentation

std::string ODLTree::getName (  )  const [inline]

Definition at line 29 of file odltree.h.

References mName.

Referenced by ODLParser::getObject().

void ODLTree::setName ( const std::string &  name  )  [inline]

Definition at line 32 of file odltree.h.

References mName.

ODLTYPE ODLTree::getType (  )  const [inline]

Definition at line 36 of file odltree.h.

References mType.

void ODLTree::setType ( const ODLTYPE type  )  [inline]

Definition at line 39 of file odltree.h.

References mType.

std::vector<ODLTree> ODLTree::getChildSet (  )  const [inline]

Definition at line 44 of file odltree.h.

References mChld.

Referenced by HdfEosFrmt::getBandMetaData().

void ODLTree::addChild ( const ODLTree chld  )  [inline]

Definition at line 47 of file odltree.h.

References mChld.

Referenced by ODLParser::parse().

ODLTree* ODLTree::getChild ( int  iChld  )  const [inline]

Definition at line 50 of file odltree.h.

References mChld.

Referenced by ODLParser::getObject().

ODLTree* ODLTree::getLastChild (  )  [inline]

Definition at line 57 of file odltree.h.

References mChld.

Referenced by ODLParser::parse().

int ODLTree::getNumChild (  )  const [inline]

Definition at line 63 of file odltree.h.

References mChld.

Referenced by ODLParser::getObject().

void ODLTree::addElem ( const ODLElement elm  )  [inline]

Definition at line 69 of file odltree.h.

References mElem.

Referenced by ODLParser::parse().

ODLElement* ODLTree::getElem ( int  iElem  )  const [inline]

int ODLTree::getNumElem (  )  const [inline]

Definition at line 79 of file odltree.h.

References mElem.


Member Data Documentation

std::string ODLTree::mName [protected]

Definition at line 10 of file odltree.h.

Referenced by getName(), and setName().

ODLTYPE ODLTree::mType [protected]

Definition at line 11 of file odltree.h.

Referenced by getType(), and setType().

std::vector<ODLTree> ODLTree::mChld [protected]

Definition at line 12 of file odltree.h.

Referenced by addChild(), getChild(), getChildSet(), getLastChild(), and getNumChild().

std::vector<ODLElement> ODLTree::mElem [protected]

Definition at line 13 of file odltree.h.

Referenced by addElem(), getElem(), and getNumElem().

bool ODLTree::mValid [protected]

Definition at line 14 of file odltree.h.

Referenced by ODLTree().


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

Home | Search | Disclaimers & Privacy | Contact Us
GLIMSView Maintainer: dsoltesz@usgs.gov