Classes | Typedefs | Functions
contrib/brl/bbas/bxml/bxml_document.h File Reference

An XML document representation. More...

#include <vcl_string.h>
#include <vcl_sstream.h>
#include <vcl_map.h>
#include <vcl_vector.h>
#include <vbl/vbl_ref_count.h>
#include <vbl/vbl_smart_ptr.h>
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.

Classes

class  bxml_data
 A block of character data found within XML tags. More...
class  bxml_text
 text data within XML. More...
class  bxml_element
 An XML element. More...
class  bxml_document
 Represents a full XML document stored as a tree. More...

Typedefs

typedef vbl_smart_ptr< bxml_databxml_data_sptr
typedef vbl_smart_ptr
< bxml_document
bxml_document_sptr

Functions

bool operator== (const bxml_data &d1, const bxml_data &d2)
 compare two XML data objects.
bool operator== (const bxml_element &e1, const bxml_element &e2)
 compare two XML element objects.
bool operator== (const bxml_document &d1, const bxml_document &d2)
 compare two XML documents.
void vsl_b_write (vsl_b_ostream &os, bxml_document const &ph)
 Binary io, NOT IMPLEMENTED, signatures defined to use bxml_document as a brdb_value.
void vsl_b_read (vsl_b_istream &is, bxml_document &ph)
void vsl_b_read (vsl_b_istream &is, bxml_document *ph)
void vsl_b_write (vsl_b_ostream &os, const bxml_document *&ph)

Detailed Description

An XML document representation.

Author:
Matt Leotta (Brown)
Date:
October 5, 2006
    Modifications
     Ozge C. Ozcanli (Brown) - July 15, 2009 - enabled smart pointer for bxml_document
     Ricardo Fabbri (Brown) - October 18, 2009 - specialized get_attribute for strings
   

Definition in file bxml_document.h.


Typedef Documentation

Definition at line 45 of file bxml_document.h.

Definition at line 246 of file bxml_document.h.


Function Documentation

bool operator== ( const bxml_data d1,
const bxml_data d2 
)

compare two XML data objects.

Definition at line 52 of file bxml_document.cxx.

bool operator== ( const bxml_element e1,
const bxml_element e2 
)

compare two XML element objects.

Definition at line 74 of file bxml_document.cxx.

bool operator== ( const bxml_document d1,
const bxml_document d2 
)

compare two XML documents.

Definition at line 105 of file bxml_document.cxx.

void vsl_b_read ( vsl_b_istream is,
bxml_document ph 
)

Definition at line 122 of file bxml_document.cxx.

void vsl_b_read ( vsl_b_istream is,
bxml_document ph 
)

Definition at line 128 of file bxml_document.cxx.

void vsl_b_write ( vsl_b_ostream os,
bxml_document const &  ph 
)

Binary io, NOT IMPLEMENTED, signatures defined to use bxml_document as a brdb_value.

Definition at line 116 of file bxml_document.cxx.

void vsl_b_write ( vsl_b_ostream os,
const bxml_document *&  ph 
)

Definition at line 142 of file bxml_document.cxx.