Definition at line 231 of file cdrfile.h.
OSB_LIB::CdrOutputFile::CdrOutputFile | ( | const size_t | blockSize = 0 , |
|
const unsigned char | filler = 0x00 | |||
) |
Default constructor.
blockSize | Set the size of the ASN.1 block. | |
filler | Character used to fill up the ASN.1 block. |
OSB_LIB::CdrOutputFile::CdrOutputFile | ( | const CdrOutputFile & | ) | [private] |
Prevent copying: not implemented.
virtual int OSB_LIB::CdrOutputFile::close | ( | ) | [virtual] |
Close the output file.
Reimplemented from OSB_LIB::FileBase.
int OSB_LIB::CdrOutputFile::flush | ( | ) |
int OSB_LIB::CdrOutputFile::open | ( | const std::string & | dir, | |
const std::string & | name | |||
) |
Open the file.
dir | Directory of the output file. | |
name | Name of the output file. |
int OSB_LIB::CdrOutputFile::open | ( | const std::string & | path | ) |
Open the file.
path | Full path of the output file. |
CdrOutputFile& OSB_LIB::CdrOutputFile::operator= | ( | const CdrOutputFile & | ) | [private] |
Prevent assignment: not implemented.
int OSB_LIB::CdrOutputFile::write | ( | const Asn1Data & | asn1 | ) |
Write binary ASN.1 data to the file.
asn1 | ASN.1 record to write. |
int OSB_LIB::CdrOutputFile::write | ( | const std::string & | record | ) |
Write a text record to the file.
record | Record to write. |
int OSB_LIB::CdrOutputFile::write | ( | const Cdr & | cdr, | |
Asn1Writer & | writer | |||
) |
Add a CDR to the file.
cdr | CDR to add. | |
writer | ASN.1 writer to use. |
size_t OSB_LIB::CdrOutputFile::cnt_ |
unsigned char OSB_LIB::CdrOutputFile::filler_ |