|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::COXml Class ReferenceOutput xml stream.
More...
#include <o_xml.h>
Inheritance diagram for NLMISC::COXml:
List of all members.
Detailed Description
Output xml stream.
This class is an xml formated output stream.
This stream use an internal stream to output final xml code.
try
{
COFile file;
file.open ("output.xml");
COXml output;
if (output.init (&file, "1.0"))
{
myClass.serial (output);
output.flush ();
}
file.close ();
}
catch (Exception &e)
{
}
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 85 of file o_xml.h.
Constructor & Destructor Documentation
NLMISC::COXml::~COXml |
( |
|
) |
[virtual] |
|
|
Default dstor.
Flush the stream.
Definition at line 133 of file o_xml.cpp.
References flush. |
Member Function Documentation
void NLMISC::COXml::flush |
( |
|
) |
|
|
void NLMISC::COXml::flushContentString |
( |
|
) |
[inline, private] |
|
xmlDocPtr NLMISC::COXml::getDocument |
( |
|
) |
|
|
bool NLMISC::COXml::init |
( |
IStream * |
stream, |
|
|
const char * |
version = "1.0" |
|
) |
|
|
bool NLMISC::COXml::isStringValidForProperties |
( |
const char * |
str |
) |
[static] |
|
|
Return true if the string is valid to be stored in a XML property without modification.
Definition at line 667 of file o_xml.cpp. |
void NLMISC::COXml::serial |
( |
ucstring & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
std::string & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
char & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
bool & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
double & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
float & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
sint64 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
uint64 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
sint32 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
uint32 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
sint16 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
uint16 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
sint8 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serial |
( |
uint8 & |
b |
) |
[private, virtual] |
|
void NLMISC::COXml::serialBit |
( |
bool & |
bit |
) |
[private, virtual] |
|
void NLMISC::COXml::serialBuffer |
( |
uint8 * |
buf, |
|
|
uint |
len |
|
) |
[private, virtual] |
|
void NLMISC::COXml::serialSeparatedBufferOut |
( |
const char * |
value |
) |
[private] |
|
bool NLMISC::COXml::xmlBreakLineInternal |
( |
|
) |
[private, virtual] |
|
bool NLMISC::COXml::xmlCommentInternal |
( |
const char * |
comment |
) |
[private, virtual] |
|
bool NLMISC::COXml::xmlPopInternal |
( |
|
) |
[private, virtual] |
|
bool NLMISC::COXml::xmlPushBeginInternal |
( |
const char * |
nodeName |
) |
[private, virtual] |
|
bool NLMISC::COXml::xmlPushEndInternal |
( |
|
) |
[private, virtual] |
|
bool NLMISC::COXml::xmlSetAttribInternal |
( |
const char * |
attribName |
) |
[private, virtual] |
|
Friends And Related Function Documentation
int xmlOutputCloseCallbackForNeL |
( |
void * |
context |
) |
[friend] |
|
int xmlOutputWriteCallbackForNeL |
( |
void * |
context, |
|
|
const char * |
buffer, |
|
|
int |
len |
|
) |
[friend] |
|
Member Data Documentation
std::string NLMISC::COXml::_AttribName [private]
|
|
bool NLMISC::COXml::_AttribPresent [private]
|
|
std::string NLMISC::COXml::_ContentString [private]
|
|
xmlNodePtr NLMISC::COXml::_CurrentNode [private]
|
|
xmlDocPtr NLMISC::COXml::_Document [private]
|
|
IStream* NLMISC::COXml::_InternalStream [private]
|
|
bool NLMISC::COXml::_PushBegin [private]
|
|
std::string NLMISC::COXml::_Version [private]
|
|
The documentation for this class was generated from the following files:
|
|