1 #ifndef GUI_OBJUTILS___BIOTREE_SELECTION__HPP
2 #define GUI_OBJUTILS___BIOTREE_SELECTION__HPP
100 objects::CFeatureDescr::TId GetFeatureId(
const std::string& feature)
const;
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
TNodeIdNodeMap m_NodesMap
Map od node ids to nodes.
TNodeIdsVector & GetNodeIds()
Returns the list of selected nodes.
const TNodeIdsVector & GetNodeIds() const
Returns const list of selected nodes.
std::vector< objects::CNode::TId > TNodeIdsVector
Vector of node IDs.
std::map< std::string, objects::CFeatureDescr::TId > TStringFeatIdMap
CConstRef< objects::CBioTreeContainer > m_BioTreeContainer
BioTree.
const TNodeIdsVector & GetExplicitlySelectedNodeIds() const
Returns const list of explicitly selected nodes.
std::string GetFeatureValue(const objects::CNode &node, objects::CFeatureDescr::TId featureId) const
Gets the value of a feature for the specified node.
std::map< objects::CNode::TId, const objects::CNode * > TNodeIdNodeMap
TNodeIdsVector & GetExplicitlySelectedNodeIds()
Returns the list of explicitly selected nodes.
std::string GetFeatureValue(objects::CNode::TId nodeId, objects::CFeatureDescr::TId featureId) const
Gets the value of a feature for the specified node id.
TNodeIdsVector m_ExplicitlySelectedNodeIds
Nodes user actually clicked on or which were selected in a query.
TStringFeatIdMap m_FeatIdsMap
TNodeIdsVector m_NodeIds
Selected nodes.
CConstRef< objects::CBioTreeContainer > GetBioTree() const
Returns the BioTree.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.