Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

XMLTagManager Class Reference

#include <XMLTagManager.h>

List of all members.

Public Member Functions

 XMLTagManager ()
 XMLTagManager (const std::string &data)
bool discoverFormat (const std::string &data)
std::string getFormatName () const
std::string getId () const
std::string getCellTagName () const
std::string getTableTagName () const
std::string getRowTagName () const
std::string getColumnTagName () const
std::string getTextTagName () const
std::string getRepeatAttributeName () const
bool cellHasChildXMLNode () const

Private Attributes

int _formatId

Static Private Attributes

static std::vector< XMLTagNames_tags

Friends

class XMLTagLoader


Constructor & Destructor Documentation

XMLTagManager::XMLTagManager  )  [inline]
 

XMLTagManager::XMLTagManager const std::string &  data  ) 
 


Member Function Documentation

bool XMLTagManager::cellHasChildXMLNode  )  const
 

cellHasChildXMLNode(): Returns true if the XML format is one that uses a child XML node to store the cell data instead of storing the data directly in the cell node.

bool XMLTagManager::discoverFormat const std::string &  data  ) 
 

std::string XMLTagManager::getCellTagName  )  const
 

getCellTag(): Returns the XML "cell" tag for the current format:

std::string XMLTagManager::getColumnTagName  )  const
 

getColumnTag(): Returns the XML "column" tag for the current format: Note that most XML table formats are row-first and don't use a column tag.

std::string XMLTagManager::getFormatName  )  const
 

std::string XMLTagManager::getId void   )  const
 

getId(): Returns the "id" used to classify an XML format. Normally this public method won't be used.

std::string XMLTagManager::getRepeatAttributeName  )  const
 

std::string XMLTagManager::getRowTagName  )  const
 

getRowTag(): Returns the XML "row" tag for the current format:

std::string XMLTagManager::getTableTagName  )  const
 

getTableTag(): Returns the XML "table" tag for the current format:

std::string XMLTagManager::getTextTagName  )  const
 

getTextTag(): Returns the XML "text" tag for the current format. Note that some XML table formats don't use a text tag but rather have data directly inside the cell tags.


Friends And Related Function Documentation

friend class XMLTagLoader [friend]
 


Member Data Documentation

int XMLTagManager::_formatId [private]
 

std::vector< XMLTagNames > XMLTagManager::_tags [static, private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 18 16:24:39 2011 for MADELINE by  doxygen 1.4.4