Pol  Rev 533
BXMLfile Class Reference

#include <xmlfilescrobj.h>

+ Inheritance diagram for BXMLfile:
+ Collaboration diagram for BXMLfile:

List of all members.

Public Member Functions

 BXMLfile ()
 BXMLfile (std::string filename)
 ~BXMLfile ()
virtual BObjectImpcall_method (const char *methodname, Executor &ex)
virtual BObjectImpcall_method_id (const int id, Executor &ex, bool forcebuiltin=false)
virtual BObjectImpcopy () const
ContIteratorcreateIterator (BObject *pIterVal)
virtual BObjectRef get_member (const char *membername)
virtual BObjectRef get_member_id (const int id)
virtual std::string getStringRep () const
virtual bool isTrue () const
virtual BObjectRef OperSubscript (const BObject &obj)
virtual size_t sizeEstimate () const
virtual const char * typeOf () const
virtual int typeOfInt () const

Private Attributes

std::string _filename
TiXmlDocument file

Detailed Description

Definition at line 45 of file xmlfilescrobj.h.


Constructor & Destructor Documentation

Definition at line 28 of file xmlfilescrobj.cpp.

Referenced by copy().

+ Here is the caller graph for this function:

BXMLfile::BXMLfile ( std::string  filename)

Definition at line 34 of file xmlfilescrobj.cpp.

References file.

Definition at line 42 of file xmlfilescrobj.cpp.


Member Function Documentation

BObjectImp * BXMLfile::call_method ( const char *  methodname,
Executor ex 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 64 of file xmlfilescrobj.cpp.

References call_method_id(), getKnownObjMethod(), and ObjMethod::id.

+ Here is the call graph for this function:

BObjectImp * BXMLfile::copy ( void  ) const [virtual]

Implements BObjectImp.

Definition at line 229 of file xmlfilescrobj.cpp.

References _filename, and BXMLfile().

+ Here is the call graph for this function:

ContIterator* BXMLfile::createIterator ( BObject pIterVal) [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 62 of file xmlfilescrobj.h.

References file.

BObjectRef BXMLfile::get_member ( const char *  membername) [virtual]

Reimplemented from BObjectImp.

Definition at line 55 of file xmlfilescrobj.cpp.

References UninitObject::create(), get_member_id(), getKnownObjMember(), and ObjMember::id.

+ Here is the call graph for this function:

BObjectRef BXMLfile::get_member_id ( const int  id) [virtual]

Reimplemented from BObjectImp.

Definition at line 46 of file xmlfilescrobj.cpp.

References UninitObject::create().

Referenced by get_member().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string BXMLfile::getStringRep ( ) const [virtual]

Implements BObjectImp.

Definition at line 234 of file xmlfilescrobj.cpp.

References _filename, file, OSTRINGSTREAM, and OSTRINGSTREAM_STR.

bool BXMLfile::isTrue ( void  ) const [virtual]

Reimplemented from BObjectImp.

Definition at line 245 of file xmlfilescrobj.cpp.

References file.

BObjectRef BXMLfile::OperSubscript ( const BObject obj) [virtual]

Reimplemented from BObjectImp.

Definition at line 250 of file xmlfilescrobj.cpp.

References file, BObject::impptr(), BObject::impref(), BObjectImp::isa(), BObjectImp::OTLong, BObjectImp::OTString, String::value(), and BLong::value().

+ Here is the call graph for this function:

virtual size_t BXMLfile::sizeEstimate ( ) const [inline, virtual]

Implements BObjectImp.

Definition at line 57 of file xmlfilescrobj.h.

virtual const char* BXMLfile::typeOf ( ) const [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 58 of file xmlfilescrobj.h.

virtual int BXMLfile::typeOfInt ( ) const [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 59 of file xmlfilescrobj.h.

References BObjectImp::OTXMLFile.


Member Data Documentation

std::string BXMLfile::_filename [private]

Definition at line 69 of file xmlfilescrobj.h.

Referenced by copy(), and getStringRep().

TiXmlDocument BXMLfile::file [private]

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