XMLBEANSXX  0.9.8
xmlbeansxx Namespace Reference

Namespaces

namespace  definitions

Classes

class  BeansException
class  NotImplementedException
class  XmlException
class  XmlParseException
class  XmlSerializeException
class  XmlIllegalValueException
class  XmlSimpleTypeException
class  ClassCastException
class  CalendarException
class  IllegalArgumentsException
class  IllegalStateException
class  AssertionFailedException
class  NullPtrException
class  Calendar
class  Duration
class  Contents
class  StringContents
class  GDate
class  List
class  Object
struct  DictEl
struct  ElemDict
struct  ltstr
class  XpathException
struct  null_deleter
class  LibXMLParser
class  Map
class  NSMap
class  NullPtr
class  QName
class  Operator
class  QueryNode
class  QueryExpr
class  QueryString
class  QueryAttribute
class  QueryElement
class  SchemaProperty
struct  Map_QName_SchemaPropertyPtr
class  SchemaType
class  shared_array
class  SimpleString
class  CStrHashFn
class  CStrLessFn
class  CStrEqFn
class  StringStorage
class  StoreString
class  StoreStringHashFn
class  TextUtils
class  TypeSystem
struct  null_deleter2
class  XercesParser
class  MySAX2Handler
class  BinStdInputStream
class  StdStringFormatTarget
class  StdInputSource
class  Transcoder
class  AnyXmlArray
class  XmlArray
class  XmlBeans
class  XmlContext
struct  NSMapSerializer
class  XmlCursor
class  XmlObjectDocument
class  NSMapXPath
class  Path
class  XmlOptions
class  XmlParser
class  EmptyParser
class  NoExchangeEntitiesXmlObject
class  Factory
class  XmlObject
class  XmlAnySimpleType
class  XmlAnyURI
class  XmlGMonthDay
class  XmlBoolean
class  XmlGDay
class  XmlTime
class  XmlIDREFS
class  XmlGYearMonth
class  XmlBase64Binary
class  XmlNMTOKENS
class  XmlGYear
class  XmlString
class  XmlNormalizedString
class  XmlToken
class  XmlName
class  XmlNCName
class  XmlID
class  XmlENTITY
class  XmlIDREF
class  XmlLanguage
class  XmlNMTOKEN
class  XmlDateTime
class  XmlDuration
class  XmlFloat
class  XmlHexBinary
class  XmlQName
class  XmlDouble
class  XmlNOTATION
class  XmlGMonth
class  XmlENTITIES
class  XmlDecimal
class  XmlInteger
class  XmlNonPositiveInteger
class  XmlNegativeInteger
class  XmlLong
class  XmlInt
class  XmlShort
class  XmlByte
class  XmlNonNegativeInteger
class  XmlUnsignedLong
class  XmlUnsignedInt
class  XmlUnsignedShort
class  XmlUnsignedByte
class  XmlPositiveInteger
class  XmlDate

Typedefs

typedef boost::shared_ptr
< Contents
ContentsPtr
typedef boost::shared_ptr
< const Contents
constContentsPtr
typedef long int mpz_class
typedef long double mpf_class
typedef boost::shared_ptr< QNameQNamePtr
typedef boost::shared_ptr< GDateGDatePtr
typedef boost::shared_ptr< ListListPtr
typedef boost::shared_ptr< ObjectObjectPtr
typedef std::map< std::string,
std::string, ltstr
XpathsMap
typedef std::map< std::string,
int, ltstr
XpathsCounterMap
typedef XmlObjectPtr(* CreateObjFn )()
typedef base64_from_binary
< transform_width
< string::const_iterator, 6, 8 > > 
base64_t
typedef transform_width
< binary_from_base64
< string::const_iterator >, 8, 6 > 
binary_t
typedef boost::shared_ptr
< XmlParser
XmlParserPtr
typedef XmlObject(* ObjectCreatorFn )()

Enumerations

enum  { NS_PREFIX = 0, NS_URI = 1 }
enum  {
  ATTR_LOCALNAME = 0, ATTR_PREFIX = 1, ATTR_URI = 2, ATTR_VALUE = 3,
  ATTR_END = 4
}

Functions

 XMLBEANSXX_LOGGER_PTR_SET (BeansException::log,"xmlbeansxx.BeansException")
 XMLBEANSXX_LOGGER_PTR_SET (Contents::log,"xmlbeansxx.Contents")
bool mpzFitsToInt (const mpz_class &v)
int mpzToInt (const mpz_class &v)
mpz_class stringToMpz (const std::string &v)
mpf_class stringToMpf (const std::string &v)
static void startElementNs (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)
static void endElementNs (void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)
static void characters (void *ctx, const xmlChar *ch, int len)
static void serror (void *ctx, xmlErrorPtr error)
 XMLBEANSXX_LOGGER_PTR_SET (LOG,"xmlbeansxx.LibXMLParser")
void addSchemaValidityError (void *ctx, const char *msg,...)
void addSchemaValidityWarning (void *ctx, const char *msg,...)
string getAttrName (const xmlChar **attributes, int current)
string getAttrValue (const xmlChar **attributes)
template<class T2 , class T >
T2 java_cast (const T &a)
 XMLBEANSXX_LOGGER_PTR_SET (NSMap::log,"xmlbeansxx.NSMap")
bool operator< (const QName &a, const QName &b)
bool operator== (const QName &a, const QName &b)
 XMLBEANSXX_LOGGER_PTR_SET (QueryExpr::log,"xmlbeansxx.QueryExpr")
 XMLBEANSXX_LOGGER_PTR_SET (QueryNode::log,"xmlbeansxx.QueryNode")
 XMLBEANSXX_LOGGER_PTR_SET (QueryString::log,"xmlbeansxx.QueryString")
 XMLBEANSXX_LOGGER_PTR_SET (QueryAttribute::log,"xmlbeansxx.QueryAttribute")
 XMLBEANSXX_LOGGER_PTR_SET (QueryElement::log,"xmlbeansxx.QueryElement")
static ContentsPtr findAttr (const XmlObject &o, const std::string &attrName)
static std::vector< ContentsPtrfindElems (const XmlObject &o, const std::string &elemName)
template<typename T >
shared_array< T > toSharedArray (const std::vector< T > &v)
template<typename T , typename U >
shared_array
< boost::shared_ptr< T > > 
static_array_cast (const shared_array< boost::shared_ptr< U > > &a)
template<typename T , typename U >
shared_array
< boost::shared_ptr< T > > 
dynamic_array_cast (const shared_array< boost::shared_ptr< U > > &a)
template<typename T , typename U >
shared_array
< boost::shared_ptr< T > > 
java_array_cast (const shared_array< boost::shared_ptr< U > > &a)
template<typename T , typename U >
std::vector< T > vector_conv (const std::vector< U > &a)
std::ostream & operator<< (std::ostream &out, const StoreString &str)
std::string operator+ (const std::string &a, const StoreString &b)
std::string operator+ (const StoreString &a, const std::string &b)
std::string operator+ (const StoreString &a, const StoreString &b)
bool operator== (const std::string &a, const StoreString &b)
bool operator== (const StoreString &a, const std::string &b)
bool operator< (const StoreString &a, const StoreString &b)
 XMLBEANSXX_LOGGER_PTR_SET (TextUtils::log,"xmlbeansxx.TextUtils")
bool _inBase64 (char c)
std::string _toCanolicalBase64 (const std::string &s)
TypeSystemglobalTypeSystem ()
 XMLBEANSXX_LOGGER_PTR_SET (XercesParser::log,"xmlbeansxx.XercesParser")
 XMLBEANSXX_LOGGER_PTR_SET (MySAX2Handler::log,"xmlbeansxx.MySAX2Handler")
std::string getPrefix (const std::string &qname)
 XMLBEANSXX_LOGGER_PTR_SET (XmlArray_log,"xmlbeansxx.XmlArray")
template<class T2 , class T >
XmlArray< T2 > xmlarray_java_cast (const XmlArray< T > &from)
 XMLBEANSXX_LOGGER_PTR_SET (NSMapSerializer::log,"xmlbeansxx.NSMapSerializer")
 XMLBEANSXX_LOGGER_PTR_SET (log,"xmlbeansxx.XPath")
std::string istreamToString (std::istream &in)
 XMLBEANSXX_LOGGER_PTR_SET (XmlObject::log,"xmlbeansxx.XmlObject")
 XMLBEANSXX_LOGGER_PTR_SET (XmlBoolean::log,"xmlbeansxx.XmlBoolean")
 XMLBEANSXX_LOGGER_PTR_SET (XmlTime::log,"xmlbeansxx.XmlTime")
 XMLBEANSXX_LOGGER_PTR_SET (XmlString::log,"xmlbeansxx.XmlString")
 XMLBEANSXX_LOGGER_PTR_SET (XmlDateTime::log,"xmlbeansxx.XmlDateTime")
 XMLBEANSXX_LOGGER_PTR_SET (XmlDecimal::log,"xmlbeansxx.XmlDecimal")
 XMLBEANSXX_LOGGER_PTR_SET (XmlInteger::log,"xmlbeansxx.XmlIteger")
 XMLBEANSXX_LOGGER_PTR_SET (XmlDate::log,"xmlbeansxx.XmlDate")
template<class T2 , class T >
bool _cast_test (const T &a)

Variables

static xmlSAXHandler xmlbeansxxSAX2HandlerStruct
static xmlSAXHandlerPtr xmlbeansxxSAX2Handler = &xmlbeansxxSAX2HandlerStruct
const int ATTRTABSIZE = 5
static int precision = XMLBEANSXX_TEXTUTILS_DEFAULT_PRECISION
static const char DELIM = '/'
static const std::string CDATA_PREFIX = "<![CDATA["
static const std::string CDATA_SUFFIX = "]]>"

Detailed Description

Xerces-c utilities (not in public headers)


Typedef Documentation

typedef base64_from_binary< transform_width<string::const_iterator, 6, 8> > xmlbeansxx::base64_t
typedef transform_width< binary_from_base64<string::const_iterator>, 8, 6 > xmlbeansxx::binary_t
typedef boost::shared_ptr<const Contents> xmlbeansxx::constContentsPtr
typedef boost::shared_ptr< Contents > xmlbeansxx::ContentsPtr
typedef XmlObjectPtr(* xmlbeansxx::CreateObjFn)()
typedef boost::shared_ptr<GDate> xmlbeansxx::GDatePtr
typedef boost::shared_ptr<List> xmlbeansxx::ListPtr
typedef long double xmlbeansxx::mpf_class
typedef long int xmlbeansxx::mpz_class
typedef boost::shared_ptr<Object> xmlbeansxx::ObjectPtr
typedef boost::shared_ptr<QName> xmlbeansxx::QNamePtr
typedef boost::shared_ptr<XmlParser> xmlbeansxx::XmlParserPtr
typedef std::map<std::string, int, ltstr> xmlbeansxx::XpathsCounterMap

XpathsCounterMap struct definition. Holds counters for every tag xpath.

typedef std::map<std::string, std::string, ltstr> xmlbeansxx::XpathsMap

XpathsMap struct definition. Contains xpaths and their values of current xml message.


Enumeration Type Documentation

anonymous enum
Enumerator:
NS_PREFIX 
NS_URI 
anonymous enum
Enumerator:
ATTR_LOCALNAME 
ATTR_PREFIX 
ATTR_URI 
ATTR_VALUE 
ATTR_END 

Function Documentation

template<class T2 , class T >
bool xmlbeansxx::_cast_test ( const T &  a)
bool xmlbeansxx::_inBase64 ( char  c)
std::string xmlbeansxx::_toCanolicalBase64 ( const std::string &  s)
void xmlbeansxx::addSchemaValidityError ( void *  ctx,
const char *  msg,
  ... 
)
void xmlbeansxx::addSchemaValidityWarning ( void *  ctx,
const char *  msg,
  ... 
)
void xmlbeansxx::characters ( void *  ctx,
const xmlChar *  ch,
int  len 
) [static]

if (INSERT_INTO_CURSOR) parser->cursor->insertChars(s);

if (INSERT_INTO_CURSOR) parser->cursor->insertChars(s);

template<typename T , typename U >
shared_array<boost::shared_ptr<T> > xmlbeansxx::dynamic_array_cast ( const shared_array< boost::shared_ptr< U > > &  a)
void xmlbeansxx::endElementNs ( void *  ctx,
const xmlChar *  localname,
const xmlChar *  prefix,
const xmlChar *  URI 
) [static]

if (INSERT_INTO_CURSOR) parser->cursor->pop(); parser->xmlContext.restore();

if (INSERT_INTO_CURSOR) parser->cursor->pop(); parser->xmlContext.restore();

static ContentsPtr xmlbeansxx::findAttr ( const XmlObject &  o,
const std::string &  attrName 
) [static]
static std::vector<ContentsPtr> xmlbeansxx::findElems ( const XmlObject &  o,
const std::string &  elemName 
) [static]
string xmlbeansxx::getAttrName ( const xmlChar **  attributes,
int  current 
) [inline]
string xmlbeansxx::getAttrValue ( const xmlChar **  attributes) [inline]
std::string xmlbeansxx::getPrefix ( const std::string &  qname)
std::string xmlbeansxx::istreamToString ( std::istream &  in)
template<typename T , typename U >
shared_array<boost::shared_ptr<T> > xmlbeansxx::java_array_cast ( const shared_array< boost::shared_ptr< U > > &  a)
template<class T2 , class T >
T2 xmlbeansxx::java_cast ( const T &  a)
bool xmlbeansxx::mpzFitsToInt ( const mpz_class &  v) [inline]
int xmlbeansxx::mpzToInt ( const mpz_class &  v) [inline]
std::string xmlbeansxx::operator+ ( const std::string &  a,
const StoreString &  b 
) [inline]
std::string xmlbeansxx::operator+ ( const StoreString &  a,
const std::string &  b 
) [inline]
std::string xmlbeansxx::operator+ ( const StoreString &  a,
const StoreString &  b 
) [inline]
bool xmlbeansxx::operator< ( const QName &  a,
const QName &  b 
) [inline]
bool xmlbeansxx::operator< ( const StoreString &  a,
const StoreString &  b 
) [inline]
std::ostream & xmlbeansxx::operator<< ( std::ostream &  out,
const StoreString &  str 
) [inline]
bool xmlbeansxx::operator== ( const QName &  a,
const QName &  b 
) [inline]
bool xmlbeansxx::operator== ( const std::string &  a,
const StoreString &  b 
) [inline]
bool xmlbeansxx::operator== ( const StoreString &  a,
const std::string &  b 
) [inline]
void xmlbeansxx::serror ( void *  ctx,
xmlErrorPtr  error 
) [static]
void xmlbeansxx::startElementNs ( void *  ctx,
const xmlChar *  localname,
const xmlChar *  prefix,
const xmlChar *  URI,
int  nb_namespaces,
const xmlChar **  namespaces,
int  nb_attributes,
int  nb_defaulted,
const xmlChar **  attributes 
) [static]

SAX callbacks headers

template<typename T , typename U >
shared_array<boost::shared_ptr<T> > xmlbeansxx::static_array_cast ( const shared_array< boost::shared_ptr< U > > &  a)
mpf_class xmlbeansxx::stringToMpf ( const std::string &  v) [inline]
mpz_class xmlbeansxx::stringToMpz ( const std::string &  v) [inline]
template<typename T >
shared_array<T> xmlbeansxx::toSharedArray ( const std::vector< T > &  v)
template<typename T , typename U >
std::vector<T> xmlbeansxx::vector_conv ( const std::vector< U > &  a)
template<class T2 , class T >
XmlArray<T2> xmlbeansxx::xmlarray_java_cast ( const XmlArray< T > &  from)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlArray_log  ,
"xmlbeansxx.XmlArray"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( QueryExpr::log  ,
"xmlbeansxx.QueryExpr"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( BeansException::log  ,
"xmlbeansxx.BeansException"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( QueryNode::log  ,
"xmlbeansxx.QueryNode"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( QueryString::log  ,
"xmlbeansxx.QueryString"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( QueryAttribute::log  ,
"xmlbeansxx.QueryAttribute"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( QueryElement::log  ,
"xmlbeansxx.QueryElement"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( NSMap::log  ,
"xmlbeansxx.NSMap"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XercesParser::log  ,
"xmlbeansxx.XercesParser"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( MySAX2Handler::log  ,
"xmlbeansxx.MySAX2Handler"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( Contents::log  ,
"xmlbeansxx.Contents"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( TextUtils::log  ,
"xmlbeansxx.TextUtils"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( NSMapSerializer::log  ,
"xmlbeansxx.NSMapSerializer"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( log  ,
"xmlbeansxx.XPath"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( LOG  ,
"xmlbeansxx.LibXMLParser"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlObject::log  ,
"xmlbeansxx.XmlObject"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlBoolean::log  ,
"xmlbeansxx.XmlBoolean"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlTime::log  ,
"xmlbeansxx.XmlTime"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlString::log  ,
"xmlbeansxx.XmlString"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlDateTime::log  ,
"xmlbeansxx.XmlDateTime"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlDecimal::log  ,
"xmlbeansxx.XmlDecimal"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlInteger::log  ,
"xmlbeansxx.XmlIteger"   
)
xmlbeansxx::XMLBEANSXX_LOGGER_PTR_SET ( XmlDate::log  ,
"xmlbeansxx.XmlDate"   
)

Variable Documentation

const int xmlbeansxx::ATTRTABSIZE = 5
const std::string xmlbeansxx::CDATA_PREFIX = "<![CDATA[" [static]

CDATA prefix

<![CDATA[
const std::string xmlbeansxx::CDATA_SUFFIX = "]]>" [static]

CDATA suffix

]]>
const char xmlbeansxx::DELIM = '/' [static]

xpath delimiter std::string