NCBI C++ ToolKit
|
Search Toolkit Book for CMacroFunction_SetBothPartials
#include <gui/objutils/macro_fn_feature.hpp>
Public Member Functions | |
CMacroFunction_SetBothPartials (EScopeEnum func_scope) | |
virtual void | TheFunction () |
class CMacroFunction_SetBothPartials SetBothEndsPartial("all"|"at-end", extend(boolean) [,retranslate_cds][,adjust_gene]) The first parameter is for feature selection use "at-end" to only apply to features whose both ends are at the end of sequence use extend = true, to extend to ends of sequence if partials are set More... | |
![]() | |
virtual | ~CMacroFunction_EditFeatLocation () |
![]() | |
virtual | ~IEditMacroFunction () |
Virtual destructor. More... | |
virtual void | operator() (CMacroCmdComposite &cmd_composite, CIRef< IMacroBioDataIter > &data, CQueryParseTree::TNode &qnode) override |
Function operator. More... | |
bool | SetQualStringValue (CObjectInfo &oi, const string &value) |
Functions make the action and collect statistics. More... | |
bool | HasDataChanged () const |
const CRef< IFunctionLog > & | GetFunctionLog () const |
![]() | |
IMacroFunction (EScopeEnum func_scope) | |
Constructor. More... | |
virtual | ~IMacroFunction () |
Virtual destructor. More... | |
EScopeEnum | GetFuncScope () |
ENestedFunc | GetNestedState () |
const string & | GetFuncReport () const |
Function extracts statistic from the object. More... | |
const string & | GetErrorReport () const |
void | SetNestedState (ENestedFunc type) |
Static Public Member Functions | |
static bool | s_SetBothEndsPartial (objects::CSeq_feat &feat, objects::CScope &scope, const string &descr, bool extend=false) |
static CTempString | GetFuncName () |
Protected Member Functions | |
virtual bool | x_ValidArguments () const |
Tests the number and the type of function arguments. More... | |
![]() | |
bool | x_CheckInitFeature () |
void | x_RetranslateCDS (CNcbiOstrstream &log) |
void | x_RetranslateCDSAdjustGene (const string &descr) |
CMacroFunction_EditFeatLocation (EScopeEnum func_scope) | |
![]() | |
IEditMacroFunction (EScopeEnum func_scope) | |
virtual void | x_InitCall (CIRef< IMacroBioDataIter > &data) override |
virtual void | x_SetUserObjects (CQueryParseTree::TNode &qnode) override |
Extracts the function arguments and initializes m_Result member. More... | |
virtual void | x_ResetState () |
Reset the state of member variables that are set directly/indirectly from function arguments. More... | |
virtual bool | x_IsNestedFunctionReturnValid () const |
void | x_AssignReturnValue (const CObjectInfo &oi, const string &field_name) |
Assigns value to m_Result. It is mostly useful for functions used in the WHERE clause. More... | |
void | x_AssignReturnValueFromContainer (const CObjectInfo &oi, const string &container, const string &field_name) |
void | x_GetObjectsFromRef (CMQueryNodeValue::TObs &objects, const size_t &index) |
void | x_GetOptionalArgs (string &delimiter, bool &remove_field, size_t &index) |
void | x_LogChangedQuals (const CRef< IFunctionLog > &log) |
![]() | |
void | x_LogFunction (CNcbiOstrstream &logstr) |
void | x_LogError (CNcbiOstrstream &logstr) |
Definition at line 121 of file macro_fn_feature.hpp.