COPASI API
4.16.103
|
#include <CQBrowserPaneDM.h>
Public Member Functions | |
CNode (const size_t &id, const std::string &key, const QString &displayRole, CNode *pParent) | |
const QString & | getDisplayRole () const |
const size_t & | getId () const |
const std::string & | getKey () const |
int | getRow () const |
QString | getSortRole () const |
void | setDisplayRole (const QString &displayRole) |
void | setKey (const std::string &key) |
~CNode () | |
![]() | |
virtual bool | addChild (CCopasiNode< Data > *pChild, CCopasiNode< Data > *pAfter=NULL) |
bool | addSibling (CCopasiNode< Data > *pSibling, CCopasiNode< Data > *pAfter=NULL) |
CCopasiNode (CCopasiNode< Data > *pParent=NULL) | |
CCopasiNode (const CCopasiNode< Data > &src) | |
CCopasiNode (const Data &data, CCopasiNode< Data > *pParent=NULL) | |
bool | deleteChildren () |
CCopasiNode< Data > * | getChild () |
const CCopasiNode< Data > * | getChild () const |
CCopasiNode< Data > * | getChild (const size_t &index) |
const CCopasiNode< Data > * | getChild (const size_t &index) const |
virtual const Data & | getData () const |
CCopasiNode< Data > * | getNext () |
const CCopasiNode< Data > * | getNext () const |
CCopasiNode< Data > * | getNextNonChild () |
const CCopasiNode< Data > * | getNextNonChild () const |
size_t | getNumChildren () const |
CCopasiNode< Data > * | getParent () |
const CCopasiNode< Data > * | getParent () const |
CCopasiNode< Data > * | getSibling () |
const CCopasiNode< Data > * | getSibling () const |
virtual bool | removeChild (CCopasiNode< Data > *pChild) |
virtual bool | setData (const Data &data) |
virtual | ~CCopasiNode () |
Private Member Functions | |
CNode () | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CNode &d) |
Additional Inherited Members | |
![]() | |
typedef SData | Data |
![]() | |
bool | setChild (CCopasiNode< Data > *pChild) |
bool | setParent (CCopasiNode< Data > *pParent) |
bool | setSibling (CCopasiNode< Data > *pSibling) |
![]() | |
Data | mData |
Definition at line 41 of file CQBrowserPaneDM.h.
|
private |
Definition at line 735 of file CQBrowserPaneDM.cpp.
CQBrowserPaneDM::CNode::CNode | ( | const size_t & | id, |
const std::string & | key, | ||
const QString & | displayRole, | ||
CNode * | pParent | ||
) |
Definition at line 739 of file CQBrowserPaneDM.cpp.
References CCopasiNode< _Data >::addChild(), and CCopasiNode< SData >::mData.
CQBrowserPaneDM::CNode::~CNode | ( | ) |
Definition at line 755 of file CQBrowserPaneDM.cpp.
const QString & CQBrowserPaneDM::CNode::getDisplayRole | ( | ) | const |
Definition at line 768 of file CQBrowserPaneDM.cpp.
Referenced by CQBrowserPaneDM::data(), CQBrowserPaneDM::load(), and CQBrowserPaneDM::rename().
const size_t & CQBrowserPaneDM::CNode::getId | ( | ) | const |
Definition at line 758 of file CQBrowserPaneDM.cpp.
Referenced by CQBrowserPaneDM::data(), and CQBrowserPaneDM::getIdFromIndex().
const std::string & CQBrowserPaneDM::CNode::getKey | ( | ) | const |
Definition at line 788 of file CQBrowserPaneDM.cpp.
Referenced by CQBrowserPaneDM::getKeyFromIndex().
int CQBrowserPaneDM::CNode::getRow | ( | ) | const |
Definition at line 793 of file CQBrowserPaneDM.cpp.
References CCopasiNode< _Data >::getChild(), and CCopasiNode< _Data >::getSibling().
Referenced by CQBrowserPaneDM::index(), CQBrowserPaneDM::parent(), and CQBrowserPaneDM::remove().
QString CQBrowserPaneDM::CNode::getSortRole | ( | ) | const |
Definition at line 773 of file CQBrowserPaneDM.cpp.
References C_INVALID_INDEX.
Referenced by CQBrowserPaneDM::data().
void CQBrowserPaneDM::CNode::setDisplayRole | ( | const QString & | displayRole | ) |
Definition at line 763 of file CQBrowserPaneDM.cpp.
Referenced by CQBrowserPaneDM::load(), and CQBrowserPaneDM::rename().
void CQBrowserPaneDM::CNode::setKey | ( | const std::string & | key | ) |
Definition at line 783 of file CQBrowserPaneDM.cpp.
Referenced by CQBrowserPaneDM::load().
|
friend |
Definition at line 815 of file CQBrowserPaneDM.cpp.