m_BioTreeContainer(bioTree)
57 if(!(*it)->CanGetName() || !(*it)->CanGetId())
59 stringfeat_name((*it)->GetName());
68 if(!(*itNode)->CanGetId())
78 stringfeat_name(feature);
85 stringfeat_name(feature);
87 return(featureId !=
m_FeatIdsMap.end()) ? featureId->second : -1;
92TNodeIdNodeMap::const_iterator node =
m_NodesMap.find(nodeId);
110 if(!(*itFeature)->CanGetFeatureid())
113 if(featureId != (*itFeature)->GetFeatureid())
116 if(!(*itFeature)->CanGetValue())
119 return(*itFeature)->GetValue();
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
Defines CBioTreeSelection, class used to broadcast selected tree nodes between views.
CBioTreeSelection(const CConstRef< objects::CBioTreeContainer > &bioTree)
Constructor.
TNodeIdNodeMap m_NodesMap
Map od node ids to nodes.
CConstRef< objects::CBioTreeContainer > m_BioTreeContainer
BioTree.
std::string GetFeatureValue(objects::CNode::TId nodeId, objects::CFeatureDescr::TId featureId) const
Gets the value of a feature for the specified node id.
objects::CFeatureDescr::TId GetFeatureId(const std::string &feature) const
Gets the id of the specified feature.
TStringFeatIdMap m_FeatIdsMap
bool HasFeature(const std::string &feature) const
Checks if the BioTree has the specified feature.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
bool IsNull(void) const THROWS_NONE
Check if pointer is null â same effect as Empty().
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string & ToLower(string &str)
Convert string to lower case â string& version.
list< CRef< CFeatureDescr > > Tdata
bool CanGet(void) const
Check if it is safe to call Get method.
list< CRef< CNodeFeature > > Tdata
bool CanGet(void) const
Check if it is safe to call Get method.
bool CanGetFeatures(void) const
Check if it is safe to call GetFeatures method.
list< CRef< CNode > > Tdata
const Tdata & Get(void) const
Get the member data.
bool CanGet(void) const
Check if it is safe to call Get method.
const Tdata & Get(void) const
Get the member data.
const TFeatures & GetFeatures(void) const
Get the Features member data.
const Tdata & Get(void) const
Get the member data.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4