![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Collaboration diagram for DtSpyXmlDocument:Public Member Functions | |
| DtSpyXmlDocument (double disambiguateCtors, const MAKRti::DtString &rootType, bool useDtd, const MAKRti::DtFilename &dtdFilename="") | |
| DtSpyXmlDocument (const MAKRti::DtString &xmlString, const MAKRti::DtString &rootType, const MAKRti::DtString &rootName, double disambiguateCtors) | |
| DtSpyXmlDocument (DtSpyXmlBlockSP root, bool useDtd, const MAKRti::DtFilename &dtdFilename="") | |
| DtSpyXmlDocument (const MAKRti::DtFilename &templateFile, const MAKRti::DtString &rootType, const MAKRti::DtString &rootName="", bool allowUnknownRootBlockType=false) | |
| virtual | ~DtSpyXmlDocument () |
| DtSpyXmlBlockSP | root () const |
| void | setRoot (DtSpyXmlBlockSP root) |
| virtual const MAKRti::DtString & | toString () const |
| virtual void | writeXmlToFile (const MAKRti::DtFilename &xmlFile) const |
| virtual std::ostream & | print (std::ostream &ostr, bool formatedXML=true) const |
Protected Member Functions | |
| DtSpyXmlDocument (const DtSpyXmlDocument &) | |
| DtSpyXmlDocument & | operator= (const DtSpyXmlDocument &) |
| bool | parseFile (const MAKRti::DtFilename &filename) |
| bool | parseString (const MAKRti::DtString &xmlString) |
Protected Attributes | |
| DtSpyXmlBlockSP | myRoot |
| bool | myUsingDtdValidation |
| MAKRti::DtFilename | myDtdFilename |
| MAKRti::DtEnvironment | myEnvironment |
| MAKRti::DtString | myXml |
| std::auto_ptr< DtEnvXMLWriter > | myXmlWriter |
| DtSpyXmlDocument::DtSpyXmlDocument | ( | double | disambiguateCtors, |
| const MAKRti::DtString & | rootType, | ||
| bool | useDtd, | ||
| const MAKRti::DtFilename & | dtdFilename = "" |
||
| ) |
References DtSpyXmlBlock::create(), DtSpyXmlBlock::isCreatable(), myEnvironment, and myRoot.
| DtSpyXmlDocument::DtSpyXmlDocument | ( | const MAKRti::DtString & | xmlString, |
| const MAKRti::DtString & | rootType, | ||
| const MAKRti::DtString & | rootName, | ||
| double | disambiguateCtors | ||
| ) |
| DtSpyXmlDocument::DtSpyXmlDocument | ( | DtSpyXmlBlockSP | root, |
| bool | useDtd, | ||
| const MAKRti::DtFilename & | dtdFilename = "" |
||
| ) |
| DtSpyXmlDocument::DtSpyXmlDocument | ( | const MAKRti::DtFilename & | templateFile, |
| const MAKRti::DtString & | rootType, | ||
| const MAKRti::DtString & | rootName = "", |
||
| bool | allowUnknownRootBlockType = false |
||
| ) |
| DtSpyXmlDocument::~DtSpyXmlDocument | ( | ) | [virtual] |
| DtSpyXmlDocument::DtSpyXmlDocument | ( | const DtSpyXmlDocument & | ) | [protected] |
| DtSpyXmlDocument& DtSpyXmlDocument::operator= | ( | const DtSpyXmlDocument & | ) | [protected] |
| bool DtSpyXmlDocument::parseFile | ( | const MAKRti::DtFilename & | filename | ) | [protected] |
References myDtdFilename, myEnvironment, and myUsingDtdValidation.
| bool DtSpyXmlDocument::parseString | ( | const MAKRti::DtString & | xmlString | ) | [protected] |
References myDtdFilename, myEnvironment, and myUsingDtdValidation.
| std::ostream & DtSpyXmlDocument::print | ( | std::ostream & | ostr, |
| bool | formatedXML = true |
||
| ) | const [virtual] |
References myEnvironment, and toString().
Referenced by operator<<().
| DtSpyXmlBlockSP DtSpyXmlDocument::root | ( | ) | const [inline] |
| void DtSpyXmlDocument::setRoot | ( | DtSpyXmlBlockSP | root | ) |
References myRoot, myXmlWriter, and root().
| const DtString & DtSpyXmlDocument::toString | ( | ) | const [virtual] |
References myDtdFilename, myEnvironment, myRoot, myXml, and myXmlWriter.
Referenced by DtNetworkMapLanRequestFilter::buildNetworkMap(), DtFederateXML::handleLogRequest(), DtFederationXML::handleLogRequest(), print(), DtFederateXML::requestStateUpdate(), DtFederationXML::requestStateUpdate(), and DtRtiExecWebManager::toXml().
| void DtSpyXmlDocument::writeXmlToFile | ( | const MAKRti::DtFilename & | xmlFile | ) | const [virtual] |
References myDtdFilename, myEnvironment, myRoot, and myXmlWriter.
MAKRti::DtFilename DtSpyXmlDocument::myDtdFilename [protected] |
Referenced by parseFile(), parseString(), toString(), and writeXmlToFile().
MAKRti::DtEnvironment DtSpyXmlDocument::myEnvironment [mutable, protected] |
Referenced by DtSpyXmlDocument(), parseFile(), parseString(), print(), toString(), and writeXmlToFile().
DtSpyXmlBlockSP DtSpyXmlDocument::myRoot [protected] |
Referenced by DtSpyXmlDocument(), root(), setRoot(), toString(), and writeXmlToFile().
bool DtSpyXmlDocument::myUsingDtdValidation [protected] |
Referenced by parseFile(), and parseString().
MAKRti::DtString DtSpyXmlDocument::myXml [mutable, protected] |
Referenced by toString().
std::auto_ptr< DtEnvXMLWriter > DtSpyXmlDocument::myXmlWriter [protected] |
Referenced by setRoot(), toString(), and writeXmlToFile().