Follow this link to skip to the main content

claraty::FDM_Node Class Reference

#include <fdm.h>

Inheritance diagram for claraty::FDM_Node:

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

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 FDM_Node (FDM_Stream &stream)
 FDM_Node (const FDM_Node &rhs)
 ~FDM_Node ()

Protected Attributes

FDM_Stream_stream
int _id
int _level

Friends

class FDM_Stream
class FDM_Untyped_Node
class FDM_Map
class FDM_Array
class FDM_Singleton

Detailed Description

Definition at line 54 of file fdm.h.


Constructor & Destructor Documentation

claraty::FDM_Node::FDM_Node ( FDM_Stream stream  )  [inline, protected]

Definition at line 65 of file fdm.h.

00065 : _stream(stream), _id(-1), _level(0) {}

claraty::FDM_Node::FDM_Node ( const FDM_Node rhs  )  [protected]

Definition at line 56 of file fdm.cc.

References _id, _level, claraty::FDM_Stream::_ref_node(), and _stream.

00056                                       : _stream(rhs._stream) {
00057   _id= rhs._id;
00058   _level= rhs._level;
00059   if (_id != -1) _stream._ref_node(*this);
00060 }

Here is the call graph for this function:

claraty::FDM_Node::~FDM_Node (  )  [protected]

Definition at line 62 of file fdm.cc.

References _id, _stream, and claraty::FDM_Stream::_unref_node().

00062                     {
00063   if (_id != -1) _stream._unref_node(*this);
00064 }

Here is the call graph for this function:


Friends And Related Function Documentation

friend class FDM_Stream [friend]

Reimplemented in claraty::FDM_Untyped_Node.

Definition at line 55 of file fdm.h.

friend class FDM_Untyped_Node [friend]

Definition at line 56 of file fdm.h.

friend class FDM_Map [friend]

Definition at line 57 of file fdm.h.

friend class FDM_Array [friend]

Definition at line 58 of file fdm.h.

friend class FDM_Singleton [friend]

Definition at line 59 of file fdm.h.


Member Data Documentation

int claraty::FDM_Node::_level [protected]


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