lsxml::XmlString< _Ty > Class Template Reference

string class More...

#include <lsxml.h>

Inheritance diagram for lsxml::XmlString< _Ty >:

lsxml::BaseObject lsxml::BaseObject List of all members.

Public Member Functions

 XmlString (const _Ty *begin, const _Ty *end=0)
 Constructor.
 XmlString (int size)
 Constructor. Reserves space for the specified number of characters.
_Ty * Data ()
 Returns the string's data.
const _Ty * Data () const
 Returns the string's data.
const _Ty * Value () const
 Returns the string's value.
int IntValue () const
 Returns the string's integer value.
int Length () const
 Returns the string's length.

Detailed Description

template<typename _Ty>
class lsxml::XmlString< _Ty >

string class

Handles context allocation of strings


Constructor & Destructor Documentation

template<typename _Ty>
lsxml::XmlString< _Ty >::XmlString ( const _Ty *  begin,
const _Ty *  end = 0 
) [explicit]

Constructor.

Parameters:
begin address of the first character of the string
end address of the character past the last character of the string (if 0, the address of the zero terminating character is taken)

template<typename _Ty>
lsxml::XmlString< _Ty >::XmlString ( int  size  )  [explicit]

Constructor. Reserves space for the specified number of characters.

Parameters:
size number of characters to allocate


Member Function Documentation

template<typename _Ty>
_Ty* lsxml::XmlString< _Ty >::Data (  )  [inline]

Returns the string's data.

Returns:
address of the string's data

template<typename _Ty>
const _Ty* lsxml::XmlString< _Ty >::Data (  )  const [inline]

Returns the string's data.

Returns:
address of the string's data

template<typename _Ty>
const _Ty* lsxml::XmlString< _Ty >::Value (  )  const [inline]

Returns the string's value.

This function is equivalent to Data()

Returns:
address of the string's value

template<typename _Ty>
int lsxml::XmlString< _Ty >::IntValue (  )  const [inline]

Returns the string's integer value.

Returns:
address of the string's integer value

template<typename _Ty>
int lsxml::XmlString< _Ty >::Length (  )  const [inline]

Returns the string's length.

Returns:
the string's length, not including the zero terminating character


The documentation for this class was generated from the following files:
Generated on Tue Sep 29 14:51:12 2009 for lsxml by  doxygen 1.5.1-p1