Follow this link to skip to the main content

claraty::FDM_Map Class Reference

#include <fdm.h>

Inheritance diagram for claraty::FDM_Map:

Inheritance graph
[legend]
Collaboration diagram for claraty::FDM_Map:

Collaboration graph
[legend]
List of all members.

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]

Definition at line 231 of file fdm.h.

00231 : FDM_Node(map) {}

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:

template<class T>
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_write (  ) 

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


The documentation for this class was generated from the following files: