OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
osgDB::XmlNode::Input Class Reference

#include <XmlParser.h>

Inheritance diagram for osgDB::XmlNode::Input:
Inheritance graph
[legend]
Collaboration diagram for osgDB::XmlNode::Input:
Collaboration graph
[legend]

Public Types

typedef std::string::size_type size_type
 
- Public Types inherited from osgDB::XmlNode::ControlMap
typedef std::map< std::string,
int > 
ControlToCharacterMap
 
typedef std::map< int,
std::string > 
CharacterToControlMap
 

Public Member Functions

 Input ()
 
 Input (const Input &)
 
 ~Input ()
 
void open (const std::string &filename)
 
void attach (std::istream &istream)
 
void readAllDataIntoBuffer ()
 
 operator bool () const
 
size_type currentPosition () const
 
int get ()
 
int operator[] (size_type i) const
 
void operator++ ()
 
void operator+= (size_type n)
 
void skipWhiteSpace ()
 
std::string substr (size_type pos, size_type n=std::string::npos)
 
size_type find (const std::string &str)
 
bool match (const std::string &str)
 
- Public Member Functions inherited from osgDB::XmlNode::ControlMap
 ControlMap ()
 
void addControlToCharacter (const std::string &control, int c)
 

Additional Inherited Members

- Public Attributes inherited from osgDB::XmlNode::ControlMap
ControlToCharacterMap _controlToCharacterMap
 
CharacterToControlMap _characterToControlMap
 

Detailed Description

Definition at line 88 of file XmlParser.h.

Member Typedef Documentation

typedef std::string::size_type osgDB::XmlNode::Input::size_type

Definition at line 97 of file XmlParser.h.

Constructor & Destructor Documentation

osgDB::XmlNode::Input::Input ( )
osgDB::XmlNode::Input::Input ( const Input )
osgDB::XmlNode::Input::~Input ( )

Member Function Documentation

void osgDB::XmlNode::Input::attach ( std::istream &  istream)
size_type osgDB::XmlNode::Input::currentPosition ( ) const
inline

Definition at line 106 of file XmlParser.h.

size_type osgDB::XmlNode::Input::find ( const std::string &  str)
inline

Definition at line 120 of file XmlParser.h.

int osgDB::XmlNode::Input::get ( )
inline

Definition at line 108 of file XmlParser.h.

bool osgDB::XmlNode::Input::match ( const std::string &  str)
inline

Definition at line 130 of file XmlParser.h.

void osgDB::XmlNode::Input::open ( const std::string &  filename)
osgDB::XmlNode::Input::operator bool ( ) const
inline

Definition at line 104 of file XmlParser.h.

void osgDB::XmlNode::Input::operator++ ( )
inline

Definition at line 112 of file XmlParser.h.

void osgDB::XmlNode::Input::operator+= ( size_type  n)
inline

Definition at line 114 of file XmlParser.h.

int osgDB::XmlNode::Input::operator[] ( size_type  i) const
inline

Definition at line 110 of file XmlParser.h.

void osgDB::XmlNode::Input::readAllDataIntoBuffer ( )
void osgDB::XmlNode::Input::skipWhiteSpace ( )
std::string osgDB::XmlNode::Input::substr ( size_type  pos,
size_type  n = std::string::npos 
)
inline

Definition at line 118 of file XmlParser.h.


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