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


Public Member Functions | |
| FDM_Array (const FDM_Node &elt) | |
| FDM_Array (const FDM_Array &array) | |
| template<class T> | |
| bool | element (T &val) |
| bool | element (std::vector< bool >::reference val) |
| template<class I> | |
| bool | elements (I first, const I &end) |
| FDM_Untyped_Node | element_node () |
| bool | resizable_length (int &len) |
| bool | is_read () |
| bool | is_write () |
Protected Attributes | |
| FDM_Stream & | _stream |
| int | _id |
| int | _level |
Detailed Description
Definition at line 263 of file fdm.h.
Constructor & Destructor Documentation
| claraty::FDM_Array::FDM_Array | ( | const FDM_Node & | elt | ) |
Definition at line 172 of file fdm.cc.
References claraty::FDM_Stream::_begin_array(), claraty::FDM_Stream::_push_node(), and claraty::FDM_Node::_stream.
00172 : FDM_Node(elt) { 00173 _stream._push_node(*this); 00174 _stream._begin_array(); 00175 }
Here is the call graph for this function:

| claraty::FDM_Array::FDM_Array | ( | const FDM_Array & | array | ) | [inline] |
Member Function Documentation
| bool claraty::FDM_Array::element | ( | T & | val | ) | [inline] |
Definition at line 269 of file fdm.h.
References claraty::FDM_Stream::_array_element(), claraty::FDM_Stream::_io_object(), and claraty::FDM_Node::_stream.
Referenced by elements(), claraty::Unit_Vector< T >::io(), claraty::RGB_Color< T >::io(), claraty::GUID_1394::io(), claraty::N_2D_Array< T >::io(), and claraty::io_object().
00269 { 00270 bool ok= true; 00271 ok &= _stream._array_element(); 00272 ok &= _stream._io_object(val); 00273 return ok; 00274 }
Here is the call graph for this function:

| bool claraty::FDM_Array::element | ( | std::vector< bool >::reference | val | ) | [inline] |
Definition at line 279 of file fdm.h.
References claraty::FDM_Stream::_array_element(), claraty::FDM_Stream::_io_object(), and claraty::FDM_Node::_stream.
00279 { 00280 bool ok= true; 00281 ok &= _stream._array_element(); 00282 ok &= _stream._io_object(val); 00283 return ok; 00284 }
Here is the call graph for this function:

| bool claraty::FDM_Array::elements | ( | I | first, | |
| const I & | end | |||
| ) | [inline] |
Definition at line 287 of file fdm.h.
References element().
Referenced by claraty::io_object().
00287 { 00288 bool ok = true; 00289 for (; first != end; ++first) ok &= element(*first); 00290 return ok; 00291 }
Here is the call graph for this function:

| FDM_Untyped_Node claraty::FDM_Array::element_node | ( | ) |
Definition at line 177 of file fdm.cc.
References claraty::FDM_Stream::_array_element_node(), claraty::FDM_Node::_stream, and claraty::FDM_Stream::_unwind_to_node().
00177 { 00178 _stream._unwind_to_node(*this); 00179 return _stream._array_element_node(); 00180 }
Here is the call graph for this function:

| bool claraty::FDM_Array::resizable_length | ( | int & | len | ) |
Definition at line 182 of file fdm.cc.
References claraty::FDM_Stream::_array_resizable_length(), and claraty::FDM_Node::_stream.
Referenced by claraty::io_object().
00182 { 00183 return _stream._array_resizable_length(len); 00184 }
Here is the call graph for this function:

| bool claraty::FDM_Array::is_read | ( | ) |
Definition at line 186 of file fdm.cc.
References claraty::FDM_Node::_stream, and claraty::FDM_Stream::is_read().
Here is the call graph for this function:

| bool claraty::FDM_Array::is_write | ( | ) |
Definition at line 187 of file fdm.cc.
References claraty::FDM_Node::_stream, and claraty::FDM_Stream::is_write().
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 claraty::FDM_Map::_begin_map(), element(), element_node(), FDM_Array(), claraty::FDM_Node::FDM_Node(), claraty::FDM_Map::field(), claraty::FDM_Map::field_node(), is_read(), claraty::FDM_Map::is_read(), is_write(), claraty::FDM_Map::is_write(), claraty::FDM_Map::peekfield(), 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: