Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

bxml_input_converter Class Reference

#include <bxml_input_converter.h>

Inheritance diagram for bxml_input_converter:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 31 of file bxml_input_converter.h.

Public Member Functions

 bxml_input_converter ()
 Constructor.
 bxml_input_converter (bxml_input_converter const &x)
 ~bxml_input_converter ()
 Destructor.
vcl_string get_tag_name ()
 specific sub_class string names.
vcl_string get_class_name ()
vcl_string get_ref_tag_name ()
int check_tag (DOM_Node &node)
bool getNextElementSibling (DOM_Node &node)
DOM_Node getChild (DOM_Node &node, vcl_string tname)
bool has_attr (DOM_Node &node, vcl_string attr_name)
 attribute access and conversion.
vcl_string get_string_attr (DOM_Node &node, vcl_string attr_name)
int get_int_attr (DOM_Node &node, vcl_string attr_name)
double get_double_attr (DOM_Node &node, vcl_string attr_name)
bool get_bool_attr (DOM_Node &node, vcl_string attr_name)
virtual bool extract_ref_object_atrs (DOM_Node &)
 basic conversion methods.
virtual bool extract_object_atrs (DOM_Node &)
virtual bool extract_from_dom (DOM_Node &)=0
virtual bxml_generic_ptr construct_object ()=0
void set_debug (bool debug)
 utilities.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Static Public Member Functions

static vcl_string get_DOM_tag (DOM_Node &node)
 helper functions.
static void clear ()
 clear spatial object instances in the table. move lower in hierarchy JLM.

Protected Attributes

bool debug_
vcl_string null_id_
vcl_string class_name_
vcl_string tag_name_
vcl_string ref_tag_name_

Static Protected Attributes

static BXML_DLL_DATA vcl_map<
vcl_string, bxml_generic_ptr,
vcl_less< vcl_string > > 
obj_table_


Constructor & Destructor Documentation

bxml_input_converter::bxml_input_converter  ) 
 

Constructor.

Definition at line 11 of file bxml_input_converter.cxx.

bxml_input_converter::bxml_input_converter bxml_input_converter const &  x  )  [inline]
 

Definition at line 35 of file bxml_input_converter.h.

bxml_input_converter::~bxml_input_converter  ) 
 

Destructor.

Definition at line 18 of file bxml_input_converter.cxx.


Member Function Documentation

int bxml_input_converter::check_tag DOM_Node &  node  ) 
 

Definition at line 35 of file bxml_input_converter.cxx.

void bxml_input_converter::clear  )  [static]
 

clear spatial object instances in the table. move lower in hierarchy JLM.

Definition at line 136 of file bxml_input_converter.cxx.

virtual bxml_generic_ptr bxml_input_converter::construct_object  )  [pure virtual]
 

Implemented in bxml_vdgl_digital_curve_input_converter, bxml_vsol_point_2d_input_converter, bxml_vtol_edge_2d_input_converter, bxml_vtol_vertex_2d_input_converter, and bxml_vtol_zero_chain_2d_input_converter.

virtual bool bxml_input_converter::extract_from_dom DOM_Node &   )  [pure virtual]
 

Implemented in bxml_vdgl_digital_curve_input_converter, bxml_vsol_point_2d_input_converter, bxml_vtol_edge_2d_input_converter, bxml_vtol_vertex_2d_input_converter, and bxml_vtol_zero_chain_2d_input_converter.

virtual bool bxml_input_converter::extract_object_atrs DOM_Node &   )  [inline, virtual]
 

Reimplemented in bxml_vdgl_digital_curve_input_converter, bxml_vsol_point_2d_input_converter, bxml_vtol_edge_2d_input_converter, bxml_vtol_vertex_2d_input_converter, and bxml_vtol_zero_chain_2d_input_converter.

Definition at line 62 of file bxml_input_converter.h.

virtual bool bxml_input_converter::extract_ref_object_atrs DOM_Node &   )  [inline, virtual]
 

basic conversion methods.

Reimplemented in bxml_vdgl_digital_curve_input_converter, and bxml_vsol_point_2d_input_converter.

Definition at line 61 of file bxml_input_converter.h.

bool bxml_input_converter::get_bool_attr DOM_Node &  node,
vcl_string  attr_name
 

Definition at line 128 of file bxml_input_converter.cxx.

vcl_string bxml_input_converter::get_class_name  )  [inline]
 

Definition at line 43 of file bxml_input_converter.h.

vcl_string bxml_input_converter::get_DOM_tag DOM_Node &  node  )  [static]
 

helper functions.

Definition at line 22 of file bxml_input_converter.cxx.

double bxml_input_converter::get_double_attr DOM_Node &  node,
vcl_string  attr_name
 

Definition at line 120 of file bxml_input_converter.cxx.

int bxml_input_converter::get_int_attr DOM_Node &  node,
vcl_string  attr_name
 

Definition at line 113 of file bxml_input_converter.cxx.

vcl_string bxml_input_converter::get_ref_tag_name  )  [inline]
 

Definition at line 44 of file bxml_input_converter.h.

vcl_string bxml_input_converter::get_string_attr DOM_Node &  node,
vcl_string  attr_name
 

Definition at line 104 of file bxml_input_converter.cxx.

vcl_string bxml_input_converter::get_tag_name  )  [inline]
 

specific sub_class string names.

Definition at line 42 of file bxml_input_converter.h.

DOM_Node bxml_input_converter::getChild DOM_Node &  node,
vcl_string  tname
 

Definition at line 82 of file bxml_input_converter.cxx.

bool bxml_input_converter::getNextElementSibling DOM_Node &  node  ) 
 

Definition at line 65 of file bxml_input_converter.cxx.

bool bxml_input_converter::has_attr DOM_Node &  node,
vcl_string  attr_name
 

attribute access and conversion.

Definition at line 98 of file bxml_input_converter.cxx.

void bxml_input_converter::set_debug bool  debug  )  [inline]
 

utilities.

Definition at line 66 of file bxml_input_converter.h.


Member Data Documentation

vcl_string bxml_input_converter::class_name_ [protected]
 

Definition at line 73 of file bxml_input_converter.h.

bool bxml_input_converter::debug_ [protected]
 

Definition at line 70 of file bxml_input_converter.h.

vcl_string bxml_input_converter::null_id_ [protected]
 

Definition at line 71 of file bxml_input_converter.h.

OTAB bxml_input_converter::obj_table_ [static, protected]
 

Definition at line 72 of file bxml_input_converter.h.

vcl_string bxml_input_converter::ref_tag_name_ [protected]
 

Definition at line 75 of file bxml_input_converter.h.

vcl_string bxml_input_converter::tag_name_ [protected]
 

Definition at line 74 of file bxml_input_converter.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:51:19 2008 for contrib/brl/bbas/bxml by  doxygen 1.4.4