claraty::FDM_Map Class Reference
#include <fdm.h>
Inheritance diagram for claraty::FDM_Map:


Public Member Functions | |
| FDM_Map (const FDM_Map &map) | |
| FDM_Map (const FDM_Node &node) | |
| FDM_Map (const FDM_Untyped_Node &node) | |
| template<class T> | |
| bool | field (const char *name, T &val) |
| template<class T> | |
| bool | peekfield (const char *name, T &val) |
| bool | is_read () |
| bool | is_write () |
| FDM_Untyped_Node | field_node (const char *name) |
Protected Attributes | |
| FDM_Stream & | _stream |
| int | _id |
| int | _level |
Private Member Functions | |
| void | _begin_map () |
Detailed Description
Definition at line 227 of file fdm.h.
Constructor & Destructor Documentation
| claraty::FDM_Map::FDM_Map | ( | const FDM_Map & | map | ) | [inline] |
| claraty::FDM_Map::FDM_Map | ( | const FDM_Node & | node | ) | [inline] |
Definition at line 232 of file fdm.h.
References _begin_map().
00232 : FDM_Node(node) { _begin_map(); }
Here is the call graph for this function:

| claraty::FDM_Map::FDM_Map | ( | const FDM_Untyped_Node & | node | ) | [inline] |
Definition at line 233 of file fdm.h.
References _begin_map().
00233 : FDM_Node(node) { _begin_map(); }
Here is the call graph for this function:

Member Function Documentation
| void claraty::FDM_Map::_begin_map | ( | ) | [private] |
Definition at line 159 of file fdm.cc.
References claraty::FDM_Stream::_begin_map(), claraty::FDM_Stream::_push_node(), and claraty::FDM_Node::_stream.
Referenced by FDM_Map().
00159 { 00160 _stream._push_node(*this); 00161 _stream._begin_map(); 00162 }
Here is the call graph for this function:

| bool claraty::FDM_Map::field | ( | const char * | name, | |
| T & | val | |||
| ) | [inline] |
Definition at line 240 of file fdm.h.
References claraty::FDM_Stream::_io_object(), claraty::FDM_Stream::_map_field(), claraty::FDM_Node::_stream, and claraty::FDM_Stream::_unwind_to_node().
Referenced by claraty::Tsai_Camera_Model::io(), claraty::RMatrix< T >::io(), claraty::RGB_Image< T >::io(), claraty::Quaternion< T >::io(), claraty::Power_Switch::io(), claraty::Point< T >::io(), claraty::Parse_Tree::io(), claraty::Device_Group::io(), claraty::Device::io(), claraty::Camera_Model::io(), claraty::Camera_Image< Pixel_Type >::io(), claraty::Camera_Image_Properties::io(), claraty::Camera_Image_Properties::Property::io(), claraty::A_Camera_Model::io(), claraty::N_2D_Array< T >::io(), claraty::io_image(), and claraty::io_object().
00240 { 00241 bool ok= true; 00242 _stream._unwind_to_node(*this); 00243 ok &= _stream._map_field(name); 00244 ok &= _stream._io_object(val); 00245 return ok; 00246 }
Here is the call graph for this function:

| bool claraty::FDM_Map::peekfield | ( | const char * | name, | |
| T & | val | |||
| ) | [inline] |
Definition at line 249 of file fdm.h.
References claraty::FDM_Stream::_map_field(), claraty::FDM_Stream::_peek_object(), claraty::FDM_Node::_stream, and claraty::FDM_Stream::_unwind_to_node().
Referenced by claraty::Tsai_Camera_Model::io(), claraty::Camera_Model::io(), claraty::Camera_Image< Pixel_Type >::io(), and claraty::io_object().
00249 { 00250 bool ok= true; 00251 _stream._unwind_to_node(*this); 00252 ok &= _stream._map_field(name); 00253 ok &= _stream._peek_object(val); 00254 return ok; 00255 }
Here is the call graph for this function:

| bool claraty::FDM_Map::is_read | ( | ) |
Definition at line 164 of file fdm.cc.
References claraty::FDM_Node::_stream, and claraty::FDM_Stream::is_read().
Referenced by claraty::Tsai_Camera_Model::io(), claraty::RMatrix< T >::io(), claraty::Quaternion< T >::io(), claraty::Point< T >::io(), claraty::Parse_Tree::io(), claraty::Camera_Model::io(), claraty::Camera_Image< Pixel_Type >::io(), claraty::A_Camera_Model::io(), claraty::N_2D_Array< T >::io(), and claraty::io_object().
Here is the call graph for this function:

| bool claraty::FDM_Map::is_write | ( | ) |
Definition at line 165 of file fdm.cc.
References claraty::FDM_Node::_stream, and claraty::FDM_Stream::is_write().
Referenced by claraty::RMatrix< T >::io(), claraty::Quaternion< T >::io(), claraty::Point< T >::io(), claraty::Parse_Tree::io(), claraty::Camera_Model::io(), and claraty::io_object().
Here is the call graph for this function:

| FDM_Untyped_Node claraty::FDM_Map::field_node | ( | const char * | name | ) |
Definition at line 154 of file fdm.cc.
References claraty::FDM_Stream::_map_field_node(), claraty::FDM_Node::_stream, and claraty::FDM_Stream::_unwind_to_node().
Referenced by claraty::N_2D_Array< T >::io(), and claraty::io_object().
00154 { 00155 _stream._unwind_to_node(*this); 00156 return _stream._map_field_node(name); 00157 }
Here is the call graph for this function:

Member Data Documentation
FDM_Stream& claraty::FDM_Node::_stream [protected, inherited] |
Definition at line 62 of file fdm.h.
Referenced by _begin_map(), claraty::FDM_Array::element(), claraty::FDM_Array::element_node(), claraty::FDM_Array::FDM_Array(), claraty::FDM_Node::FDM_Node(), field(), field_node(), claraty::FDM_Array::is_read(), is_read(), claraty::FDM_Array::is_write(), is_write(), peekfield(), claraty::FDM_Array::resizable_length(), claraty::FDM_Untyped_Node::value(), and claraty::FDM_Node::~FDM_Node().
int claraty::FDM_Node::_id [protected, inherited] |
Definition at line 63 of file fdm.h.
Referenced by claraty::FDM_Stream::_find_node(), claraty::FDM_Stream::_push_node(), claraty::FDM_Stream::_ref_node(), claraty::FDM_Stream::_unref_node(), claraty::FDM_Node::FDM_Node(), and claraty::FDM_Node::~FDM_Node().
int claraty::FDM_Node::_level [protected, inherited] |
Definition at line 64 of file fdm.h.
Referenced by claraty::FDM_Stream::_find_node(), claraty::FDM_Stream::_push_node(), and claraty::FDM_Node::FDM_Node().
The documentation for this class was generated from the following files: