MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Protected Member Functions | Protected Attributes
DtSpyXmlDocument Class Reference
+ Collaboration diagram for DtSpyXmlDocument:

List of all members.

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 &)
DtSpyXmlDocumentoperator= (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

Constructor & Destructor Documentation

DtSpyXmlDocument::DtSpyXmlDocument ( double  disambiguateCtors,
const MAKRti::DtString &  rootType,
bool  useDtd,
const MAKRti::DtFilename &  dtdFilename = "" 
)
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 
)

Member Function Documentation

DtSpyXmlDocument& DtSpyXmlDocument::operator= ( const DtSpyXmlDocument ) [protected]
bool DtSpyXmlDocument::parseFile ( const MAKRti::DtFilename &  filename) [protected]
bool DtSpyXmlDocument::parseString ( const MAKRti::DtString &  xmlString) [protected]
std::ostream & DtSpyXmlDocument::print ( std::ostream &  ostr,
bool  formatedXML = true 
) const [virtual]

References myEnvironment, and toString().

Referenced by operator<<().

References myRoot, myXmlWriter, and root().

const DtString & DtSpyXmlDocument::toString ( ) const [virtual]
void DtSpyXmlDocument::writeXmlToFile ( const MAKRti::DtFilename &  xmlFile) const [virtual]

Member Data Documentation

MAKRti::DtFilename DtSpyXmlDocument::myDtdFilename [protected]
MAKRti::DtEnvironment DtSpyXmlDocument::myEnvironment [mutable, 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().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)