OSB_LIB::CdrInputFile Class Reference

Inheritance diagram for OSB_LIB::CdrInputFile:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::CdrInputFile:

Collaboration graph
[legend]
List of all members.

Detailed Description

Support input of CDR in text format.

Definition at line 173 of file cdrfile.h.

Public Member Functions

Private Member Functions


Constructor & Destructor Documentation

OSB_LIB::CdrInputFile::CdrInputFile (  ) 

Default constructor.

OSB_LIB::CdrInputFile::CdrInputFile ( const CdrInputFile  )  [private]

Prevent copying: not implemented.


Member Function Documentation

int OSB_LIB::CdrInputFile::open ( const std::string &  dir,
const std::string &  name,
bool  binary 
)

Open the input file.

Parameters:
dir Directory of the input file.
name Name of the input file.
binary Flag to open the file in binary mode.
Returns:
0 in case of success, else errno.

int OSB_LIB::CdrInputFile::open ( const std::string &  path,
bool  binary 
)

Open the input file.

Parameters:
path Full path of the input file.
binary Flag to open the file in binary mode.
Returns:
0 in case of success, else errno.

CdrInputFile& OSB_LIB::CdrInputFile::operator= ( const CdrInputFile  )  [private]

Prevent assignment: not implemented.

bool OSB_LIB::CdrInputFile::readAsn1 ( Asn1Reader dest  ) 

Read ASN.1 encode data from file.

Parameters:
dest Gets the ASN.1 data.
Returns:
true if an ASN.1 record was read, else false.

bool OSB_LIB::CdrInputFile::readLine ( std::string *  dest  ) 

Read a line from a text file.

Parameters:
dest Gets the line read from file_.
Note that it may be empty.
Returns:
true if a line was read, else false.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:15:10 2006 for OSB Library by  doxygen 1.4.7