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

L1394::internal::DNode Class Reference
[Internal]

A DNode represents a node of the CsrDirectory. More...

#include <l1394_csrdirectory.h>

List of all members.

Public Member Functions

 DNode ()
 Constructor.
 DNode (int type, QArray *node_info)
 Constructor.
 DNode (int type, CsrDirectory *subdir)
 Constructor.
 ~DNode ()
 Destructor.
void print ()
 This method prints the content of a DNode to standard output.
int getType () const
 This method returns the type of a DNode.
QArraygetInfo () const
 This method returns a pointer to the information stored in the DNode.
CsrDirectorygetSubDir () const
 This method returns the subdirectory of a DNode.


Detailed Description

A DNode represents a node of the CsrDirectory.

There a four node types that store information the CsrRom: The type is stored as integer value. DNode-type immediate :
This DNode stores the information of an immediate entry in CsrRom.

DNode-type offset :
This DNode stores the information of an offset entry in CsrRom.

DNode-type leaf :
This DNode stores the information of an leaf entry in CsrRom.

DNode type directory :
This DNode stores a pointer to a CsrDirectory in CsrRom.

Author:
Michael Repplinger

Definition at line 50 of file l1394_csrdirectory.h.


Constructor & Destructor Documentation

L1394::internal::DNode::DNode  ) 
 

Constructor.

Definition at line 87 of file l1394_csrdirectory.cpp.

L1394::internal::DNode::DNode int  type,
QArray node_info
 

Constructor.

Parameters:
type : integer value for the DNode type.
node_info : pointer with the node information

Definition at line 100 of file l1394_csrdirectory.cpp.

L1394::internal::DNode::DNode int  type,
CsrDirectory subdirectory
 

Constructor.

Parameters:
type : integer value for DNode type
subdirectory : pointer to the subdirectory.

Definition at line 93 of file l1394_csrdirectory.cpp.

L1394::internal::DNode::~DNode  ) 
 

Destructor.

Definition at line 107 of file l1394_csrdirectory.cpp.


Member Function Documentation

L1394::internal::DNode::getInfo  )  const [inline]
 

This method returns a pointer to the information stored in the DNode.

Returns:
QArray* : pointer to the information, NULL if it stores a subdirectory.

Definition at line 100 of file l1394_csrdirectory.h.

L1394::internal::DNode::getSubDir  )  const [inline]
 

This method returns the subdirectory of a DNode.

Returns:
CsrDirectoy* : a pointer to the subdirectory, NULL if the DNode has no subdirectory.

Definition at line 108 of file l1394_csrdirectory.h.

L1394::internal::DNode::getType  )  const [inline]
 

This method returns the type of a DNode.

Returns:
int : the DNode type.

Definition at line 93 of file l1394_csrdirectory.h.

L1394::internal::DNode::print  ) 
 

This method prints the content of a DNode to standard output.

Definition at line 115 of file l1394_csrdirectory.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Aug 24 00:36:45 2005 for L1394 by doxygen 1.4.2
L1394 library (NMM) grahics.cs.uni-sb.de/~repplix/l1394_home/