copasi API  0.1
Public Member Functions | Friends
IndexedNode Class Reference

#include <Tree.h>

List of all members.

Public Member Functions

 IndexedNode (size_t id=C_INVALID_INDEX, const QString &name="", const std::string &key="", const IndexedNode *pParentNode=NULL)
 IndexedNode (const IndexedNode &src, const IndexedNode *pParentNode)
 ~IndexedNode ()
const std::vector< IndexedNode * > & children () const
void removeChildren ()
bool removeChild (const std::string &key)
void addChild (size_t id, const QString &name, const std::string &key)
size_t getId () const
const QString & getName () const
void setName (const QString &name)
const std::string & getObjectKey () const
void setObjectKey (const std::string &key)
const QString & getSortKey () const
IndexedNodechild (int row)
int childCount () const
int columnCount () const
int row () const
int column () const
const IndexedNodeparent () const

Friends

class IndexedTree

Constructor & Destructor Documentation

IndexedNode::IndexedNode ( size_t  id = C_INVALID_INDEX,
const QString &  name = "",
const std::string &  key = "",
const IndexedNode pParentNode = NULL 
)
IndexedNode::IndexedNode ( const IndexedNode src,
const IndexedNode pParentNode 
)
IndexedNode::~IndexedNode ( )

Member Function Documentation

void IndexedNode::addChild ( size_t  id,
const QString &  name,
const std::string &  key 
)
IndexedNode * IndexedNode::child ( int  row)
int IndexedNode::childCount ( ) const
const std::vector< IndexedNode * > & IndexedNode::children ( ) const
int IndexedNode::column ( ) const
int IndexedNode::columnCount ( ) const
size_t IndexedNode::getId ( ) const
const QString & IndexedNode::getName ( ) const
const std::string & IndexedNode::getObjectKey ( ) const
const QString & IndexedNode::getSortKey ( ) const
const IndexedNode * IndexedNode::parent ( ) const
bool IndexedNode::removeChild ( const std::string &  key)
void IndexedNode::removeChildren ( )
int IndexedNode::row ( ) const
void IndexedNode::setName ( const QString &  name)
void IndexedNode::setObjectKey ( const std::string &  key)

Friends And Related Function Documentation

friend class IndexedTree [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines