gatb.core-API-0.0.0
Cell Class Reference

Partial implementation of the INode interface. More...

#include <Cell.hpp>

Inheritance diagram for Cell:
Inheritance graph

Public Member Functions

 Cell (ICell *parent, const std::string &id)
 
 ~Cell ()
 
ICellgetParent () const
 
const std::string & getId () const
 
std::string getFullId (char sep='.') const
 
void setCompressLevel (int level)
 
int getCompressLevel () const
 
- Public Member Functions inherited from ICell
virtual ~ICell ()
 
virtual void remove ()=0
 
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()
 
- Public Member Functions inherited from SmartPointer
void use ()
 
void forget ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ICell
static ICellgetRoot (ICell *cell)
 
- Protected Member Functions inherited from SmartPointer
 SmartPointer ()
 
virtual ~SmartPointer ()
 

Detailed Description

Partial implementation of the INode interface.

The 'remove' method is still abstract.

Constructor & Destructor Documentation

Cell ( ICell parent,
const std::string &  id 
)
inline

Constructor.

~Cell ( )
inline

Destructor.

Member Function Documentation

int getCompressLevel ( ) const
inlinevirtual

Get the compression level

Returns
the compression level.

Implements ICell.

std::string getFullId ( char  sep = '.') const
inlinevirtual

Return the full identifier (like a path "x.y.z")

Parameters
[in]sep: separator character for the path string
Returns
the full identifier.

Implements ICell.

const std::string& getId ( ) const
inlinevirtual

Return the identifier of the node.

Returns
the id of the node.

Implements ICell.

ICell* getParent ( ) const
inlinevirtual

Get the parent node (if any).

Returns
the parent node.

Implements ICell.

void setCompressLevel ( int  level)
inlinevirtual

Set the compression level (if supported)

Parameters
[in]level: from 0 (no compression) to 9 (best compression).

Implements ICell.


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