IfstreamWithComments Class Reference

#include <additional/streams/IfstreamWithComments.h>

List of all members.

Public Member Functions

 IfstreamWithComments ()
virtual ~IfstreamWithComments ()
IfstreamWithCommentsgetline (char *s, int streamsize, char delim= '\n')
virtual void eatwhite ()
IfstreamWithCommentsGetSolidLine (char *s, int streamsize, char delim= '\n')
void open (const char *szName, int nMode=ios::in)

Public Attributes

char path [_MAX_PATH]
char filename [_MAX_FNAME]

Protected Attributes

char commentChar


Detailed Description

Definition at line 38 of file IfstreamWithComments.h.


Constructor & Destructor Documentation

IfstreamWithComments::IfstreamWithComments  ) 
 

Definition at line 27 of file IfstreamWithComments.cpp.

IfstreamWithComments::~IfstreamWithComments  )  [virtual]
 

Definition at line 39 of file IfstreamWithComments.cpp.


Member Function Documentation

void IfstreamWithComments::eatwhite  )  [virtual]
 

Definition at line 71 of file IfstreamWithComments.cpp.

References commentChar.

Referenced by R_OpenChain::Deserialize(), LinkBase::DeSerialize(), DH_Link::DeSerialize(), RobotBase::DeserializeAbstract(), LinkBase::DeSerializeAbstract(), and GetSolidLine().

IfstreamWithComments & IfstreamWithComments::getline char *  s,
int  streamsize,
char  delim = '\n'
 

Definition at line 57 of file IfstreamWithComments.cpp.

References commentChar.

Referenced by LinkBase::DeSerialize(), DH_Link::DeSerialize(), ObjectBase::Deserialize(), Mesh::Deserialize(), LinkBase::DeSerializeAbstract(), GetSolidLine(), ServerBase::OpenExampleFile(), and operator>>().

IfstreamWithComments & IfstreamWithComments::GetSolidLine char *  s,
int  streamsize,
char  delim = '\n'
 

Definition at line 87 of file IfstreamWithComments.cpp.

References eatwhite(), and getline().

Referenced by RobotBase::DeserializeAbstract(), and Entity::DeserializeEntity().

Here is the call graph for this function:

void IfstreamWithComments::open const char *  szName,
int  nMode = ios::in
 

Definition at line 46 of file IfstreamWithComments.cpp.

References filename, and path.

Referenced by ServerBase::OpenExampleFile(), and ServerBase::ParseRobotFile().


Member Data Documentation

char IfstreamWithComments::commentChar [protected]
 

Definition at line 76 of file IfstreamWithComments.h.

Referenced by eatwhite(), and getline().

char IfstreamWithComments::filename[_MAX_FNAME]
 

Definition at line 69 of file IfstreamWithComments.h.

Referenced by open().

char IfstreamWithComments::path[_MAX_PATH]
 

Definition at line 68 of file IfstreamWithComments.h.

Referenced by DH_Link::DeSerialize(), and open().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:47:59 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO