#include "LoadableModuleDescriptionParser.h"#include "LoadableModuleDescription.h"#include <iostream>#include <string>#include <vector>#include <stack>#include <cctype>#include <algorithm>#include "expat.h"Classes | |
| class | LMParserState |
Defines | |
| #define | argNotUsed(x) |
Functions | |
| void | lmCharData (void *userData, const char *s, int len) |
| void | lmEndElement (void *userData, const char *element) |
| void | lmStartElement (void *userData, const char *element, const char **argNotUsed(attrs)) |
| static void | replaceSubWithSub (std::string &s, const char *o, const char *n) |
| static void | trimLeading (std::string &s, const char *extraneousChars=" \t\n") |
| static void | trimLeadingAndTrailing (std::string &s, const char *extraneousChars=" \t\n") |
| static void | trimTrailing (std::string &s, const char *extraneousChars=" \t\n") |
| #define argNotUsed | ( | x | ) |
References LMParserState::Depth, and LMParserState::LastData.
Referenced by LoadableModuleDescriptionParser::Parse().
| void lmEndElement | ( | void * | userData, | |
| const char * | element | |||
| ) |
References LoadableModuleDescription::AddDependency(), LMParserState::CurrentDescription, LMParserState::Depth, LMParserState::Error, error(), LMParserState::ErrorDescription, LMParserState::ErrorLine, LMParserState::LastData, slicerget::name, LMParserState::OpenTags, LMParserState::Parser, replaceSubWithSub(), LoadableModuleDescription::SetGUIName(), LoadableModuleDescription::SetMessage(), LoadableModuleDescription::SetName(), LoadableModuleDescription::SetShortName(), LoadableModuleDescription::SetTclInitName(), and trimLeadingAndTrailing().
Referenced by LoadableModuleDescriptionParser::Parse().
Referenced by endElement(), GenerateTCLAP(), and lmEndElement().
| static void trimLeading | ( | std::string & | s, | |
| const char * | extraneousChars = " \t\n" | |||
| ) | [static] |
Referenced by endElement(), and trimLeadingAndTrailing().
| static void trimLeadingAndTrailing | ( | std::string & | s, | |
| const char * | extraneousChars = " \t\n" | |||
| ) | [static] |
| static void trimTrailing | ( | std::string & | s, | |
| const char * | extraneousChars = " \t\n" | |||
| ) | [static] |
Referenced by trimLeadingAndTrailing().
1.6.1