: m_Label(
label), m_Target(target), m_ActionType(
type)
54 autoaction_type = child->GetActionType();
56 types.push_back(action_type);
70(child->GetLabel() == child->GetTarget())) {
86 if((child->GetLabel() ==
"Misc") &&
100 if(!
types.empty())
105(child->GetLabel() == child->GetTarget()) &&
118 if(!
types.empty())
122 if((child->GetLabel() ==
"CDS-Gene-Prot-mRNA") &&
159vector<EMActionType> prot_types;
163 types.reserve(
types.size() + prot_types.size());
164 types.insert(
types.end(), prot_types.begin(), prot_types.end());
167vector<EMActionType> prot_types;
171 types.reserve(
types.size() + prot_types.size());
172 types.insert(
types.end(), prot_types.begin(), prot_types.end());
175vector<EMActionType> prot_types;
179 types.reserve(
types.size() + prot_types.size());
180 types.insert(
types.end(), prot_types.begin(), prot_types.end());
183vector<EMActionType> prot_types;
186 types.reserve(
types.size() + prot_types.size());
187 types.insert(
types.end(), prot_types.begin(), prot_types.end());
221 CRef<CMActionNode>bsrc_node = descr_node->
AddChild(macro::CMacroBioData::sm_BioSource, macro::CMacroBioData::sm_BioSource);
251 const CTempString& mol_target = macro::CMacroBioData::sm_Seq;
475 tree->SetRoot(*root);
vector< CRef< CMActionNode > > m_Children
const CTempString & GetTarget() const
CRef< CMActionNode > AddChild(const string &label, const CTempString &target, const EMActionType type=EMActionType::eNotSet)
const vector< CRef< CMActionNode > > & GetChildren() const
CMActionNode(const string &label, const CTempString &target, EMActionType type=EMActionType::eNotSet)
static CConstRef< CMActionTree > BuildActionTree()
CRef< CMActionNode > m_Root
void GetMActionTypesForTarget(const string &target, vector< EMActionType > &types) const
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
static const struct type types[]
CConstRef< C > ConstRef(const C *object)
Template function for conversion of const object pointer to CConstRef.
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 bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
static const char label[]
static void s_GetMActionTypesForRna(const CMActionNode &root, vector< EMActionType > &types)
static void s_GetMActionTypesForMisc(const CMActionNode &root, vector< EMActionType > &types)
static void s_GetMActionTypesForTarget(const CMActionNode &root, const string &target, vector< EMActionType > &types)
static void s_GetMActionTypesForCDSGeneProt(const CMActionNode &root, vector< EMActionType > &types)
static void s_GetMActionTypesForMolinfo(const CMActionNode &root, vector< EMActionType > &types)
@ eTrimStopsFromCompleteCDS
@ eApplyCDSGeneProtQualTable
@ eAdjustConsensusSpliceSite
@ eSynchronizeCDSPartials
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