A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/macro__apply__itemdata_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/edit/macro_apply_itemdata.cpp Source File

51 #include <wx/msgdlg.h> 90

descr +=

"publication "

;

101

variables += GetExistingTextVariables(

m_ArgList

);

134  x_LoadPanel

(parent,

"SetStringProteinQual"

, args);

158  string

rt_var =

"obj"

;

161  if

(

function

.

empty

()) {

163  function

+=

"(\""

+ path +

"\", "

;

167  function

+=

"("

+ rt_var +

", "

;

172  function

+=

"(\""

+ path +

"\", "

;

249  string

rt_var =

"obj"

;

250  bool

found_constraint =

false

;

252  if

(found_constraint) {

253  function

+= resolve_func;

256  auto

pos = field_name.find_last_of(

'-'

);

258  if

(found_constraint) {

259  function

+=

"("

+ rt_var +

", "

;

262  function

+=

"(\""

+ field_name.substr(0, pos) +

"\", "

;

264  function

+=

"\""

+ field_name.substr(pos + 1) +

"\", "

;

266  else if

(path.find(

','

) !=

NPOS

) {

267

vector<string> tokens;

272  string

rt_var =

"obj"

;

276  function

+=

"("

+ rt_var +

", \""

+ tokens[0] +

"\", \""

+ tokens[1] +

"\", "

;

280  function

+=

"(\""

+ path +

"\", "

;

318  string

descr =

"Apply '"

;

329

variables += GetExistingTextVariables(

m_ArgList

);

354  for

(

auto

& it : constraints) {

355  if

(it.second.find(field) !=

NPOS

) {

368  bool

found_constraint =

false

;

371  if

(found_constraint) {

375  function

+=

"\""

+ rt_var +

".data.strs\""

;

422  if

(date && date->

IsStd

()) {

423  const auto

& std_date = date->

GetStd

();

424  if

(std_date.IsSetYear() && std_date.IsSetMonth() && std_date.IsSetDay()) {

453  return

CMacroFunction_SetPubPMID::GetFuncName() +

"("

+

kNewValue

+

");"

;

455  return

CMacroFunction_SetPubDOI::GetFuncName() +

"("

+

kNewValue

+

");"

;

481  string

rt_var =

"obj"

;

488  string

rt_var =

"obj"

;

491  function

+= CMacroFunction_SetPubAuthorMI::GetFuncName();

492  function

+=

"("

+ rt_var +

", "

;

507  function

= CMacroFunction_SetSerialNumber::GetFuncName() +

"("

;

510  function

= CMacroFunction_SetPubCitation::GetFuncName() +

"("

;

527

vector<string> funcs{ CMacroFunction_SetPubPMID::GetFuncName(),

528

CMacroFunction_SetPubDOI::GetFuncName(),

535

CMacroFunction_SetPubAuthorMI::GetFuncName(),

540

CMacroFunction_SetSerialNumber::GetFuncName(),

541

CMacroFunction_SetPubCitation::GetFuncName(),

547

funcs.reserve(funcs.size() + pub_fncs.size());

548

funcs.insert(funcs.end(), pub_fncs.begin(), pub_fncs.end());

571

res += get<1>(

names

);

576

res += get<2>(

names

);

580

res += get<0>(

names

);

583

res +=

" "

+ get<3>(

names

);

585

res =

"'"

+ res +

"'"

;

594  for

(

auto

& it : authors) {

596  if

(author_name.empty())

601

descr += author_name;

603

descr =

"Apply "

+ descr +

" to publication authors ("

;

607

descr +=

"overwrite existing text"

;

610

descr +=

"ignore new text when existing text is present"

;

614

descr += existing_text;

625  for

(

unsigned int i

= 0;

i

< authors.size(); ++

i

) {

627  if

(get<0>(authors[

i

]).

empty

()) {

630

variables +=

kLast

+

nr

+

" = %"

+ get<0>(authors[

i

]) +

"%\n"

;

631

variables +=

kFirst

+

nr

+

" = %"

+ get<1>(authors[

i

]) +

"%\n"

;

632

variables +=

kMiddle

+

nr

+

" = %"

+ get<2>(authors[

i

]) +

"%\n"

;

633

variables +=

kSuffix

+

nr

+

" = %"

+ get<3>(authors[

i

]) +

"%\n"

;

636  if

(!variables.empty()) {

637

variables.pop_back();

659  if

(!

function

.

empty

())

function

+=

"\n"

;

666  if

(!

function

.

empty

())

function

+=

"\n"

;

683  const auto

& args = fn_it.m_FArgs;

684  auto

last_it = args.find(

kLast

);

685  if

(last_it != args.end()) {

686

author->

SetName

().SetName().SetLast(last_it->second);

688  auto

first_it = args.find(

kFirst

);

689  if

(first_it != args.end()) {

690

author->

SetName

().SetName().SetFirst(first_it->second);

692  auto

mi_it = args.find(

kMiddle

);

693  if

(mi_it != args.end()) {

694  const string

middle_init = mi_it->second;

696  string

initials = macro::CMacroFunction_AuthorFix::s_GetFirstNameInitials(author->

GetName

().

GetName

().

GetFirst

());

698

initials.append(middle_init);

702

initials.append(

"."

);

704

author->

SetName

().SetName().SetInitials(initials);

706  auto

suffix_it = args.find(

kSuffix

);

707  if

(suffix_it != args.end()) {

708

author->

SetName

().SetName().SetSuffix(suffix_it->second);

710

auth_list.

SetNames

().SetStd().push_back(author);

727  x_LoadPanel

(parent,

"SetStringStrCommQual"

, args);

757  string

rt_var =

"obj"

;

760  function

+= CMacroFunction_SetStructCommField::GetFuncName();

770  function

+=

"(\""

+ rt_var +

".label.str\", "

;

783  return

{ CMacroFunction_SetStructCommField::GetFuncName(),

786

macro::CMacroFunction_Resolve::GetFuncName()

800  x_LoadPanel

(parent,

"AddStructuredComment"

, args);

808  if

(desc && desc->

IsUser

()) {

813  return "Apply new structured comment with '"

+ prefix +

"' database name"

;

818  static const char

* s_field =

"strcomm_field"

;

824  static const char

* s_value =

"new_value"

;

835  m_Seqdesc

->SetUser().SetType().SetStr(

"StructuredComment"

);

838  for

(

auto

& it :

m_Seqdesc

->GetUser().GetData()) {

839  if

(it->IsSetData() && it->GetData().IsStr() &&

840

it->IsSetLabel() && it->GetLabel().IsStr()) {

841  string

fieldname = it->GetLabel().GetStr();

845  string value

= it->GetData().GetStr();

846  if

(!variables.empty()) {

863  string

rt_var =

"obj"

;

865  function

+=

"(\""

+ prefix +

"\", \"eAddQual\");"

;

867  for

(

unsigned int i

= 1;

i

<=

m_Index

; ++

i

) {

868  function

+=

"\n"

+ CMacroFunction_SetStructCommField::GetFuncName();

887  auto

dbname_it = fn_it.m_FArgs.find(

kNewValue

);

888  if

(dbname_it != fn_it.m_FArgs.end()) {

889  dbname

= dbname_it->second;

896  auto

& user_obj = strcomm.

SetUser

();

897

user_obj.

SetType

().SetStr(

"StructuredComment"

);

903  const auto

& args = fn_it.m_FArgs;

904  if

(

NStr::EqualNocase

(fn_it.m_FName, CMacroFunction_SetStructCommField::GetFuncName())) {

907  if

(field_it != args.end() && value_it != args.end()) {

908  string

field_name = field_it->second;

909  string

field_value = value_it->second;

914

user_obj.AddField(field_name, field_value);

918

user_obj.AddField(field_name, field_value);

956  bool

modified = (new_target !=

m_Target

);

985

gene_field =

"gene "

+ gene_field;

989  function

+=

"(\"gene\", "

+ gene_field +

", "

;

994  string

rt_var =

"obj"

;

997  if

(

function

.

empty

()) {

999  function

+=

"(\""

+ path +

"\", "

;

1003  function

+=

"("

+ rt_var +

", "

;

1006  else if

(path.find(

','

) !=

NPOS

) {

1007

vector<string> tokens;

1011  string

rt_var =

"obj"

;

1015  function

+= macro::CMacroFunction_AddorSetGbQual::GetFuncName();

1016  function

+=

"("

+ rt_var +

", \""

+ tokens[0] +

"\", \""

+

m_ArgList

[

kFeatQual

].GetValue() +

"\", "

;

1022  function

+=

"("

+ rt_var +

", \""

+ tokens[0] +

"\", \""

+ tokens[1] +

"\", "

;

1027  function

+=

"(\""

+ path +

"\", "

;

1043  return

{ CMacroFunction_Resolve::GetFuncName(),

1047

CMacroFunction_UpdatemRNAProduct::GetFuncName()

1079  bool

modified = (new_target !=

m_Target

);

1107  function

= CMacroFunction_SetCodonsRecognized::GetFuncName();

1116  function

+=

"(\"gene\", "

+ gene_field +

", "

;

1124  if

(path.find(

','

) !=

NPOS

) {

1125

vector<string> tokens;

1129  string

rt_var =

"obj"

;

1133  function

+=

"("

+ rt_var +

", \""

+ tokens[0] +

"\", \""

+ tokens[1] +

"\", "

;

1135  else if

(path.find(

"::"

) !=

NPOS

) {

1136  function

= CMacroFunction_SetRnaProduct::GetFuncName();

1141  function

+=

"(\""

+ path +

"\", "

;

1156

CMacroFunction_Resolve::GetFuncName(),

1158

CMacroFunction_SetRnaProduct::GetFuncName(),

1160

CMacroFunction_SetCodonsRecognized::GetFuncName()

1174

descr +=

", apply gene with "

;

1176

descr +=

"'"

+ args[

kGeneLocus

].GetValue() +

"' gene locus "

;

1179

descr +=

"'"

+ args[

kGeneDescr

].GetValue() +

"' gene description"

;

1185  string

GetQualifierDescription(

const CArgumentList

& args,

const string

& qual,

const string

& val)

1187  if

(!args[qual].

Empty

()) {

1188  return " with '"

+ args[

val

].GetValue() +

"' "

+ args[qual].GetValue();

1193  string

GetFeatLocation(

const CArgumentList

& args,

const string

& rt_var)

1195  string

loc_fnc = rt_var +

" = "

;

1204  if

(from <= 0 || to <= 0 || from > to)

1207

loc_fnc +=

"("

+ args[

kFromCoord

].GetValue() +

", "

+ args[

kToCoord

].GetValue() +

", "

;

1214  string

GetQualifierForFunction(

const CArgumentList

& args,

const string

& qual,

const string

& val)

1216  if

(args[val].

Empty

())

1219  const string

feat_name = args[

kFeatureType

].GetValue();

1220  const string

qualifier = args[qual].GetValue();

1222  if

(qualifier ==

"allele"

) {

1223  return ", \"data.gene.allele\", "

+

val

;

1225  else if

(qualifier ==

"gene_synonym"

) {

1226  return ", \"data.gene.syn\", "

+

val

;

1228  else if

(qualifier ==

"locus_tag"

) {

1229  return ", \"data.gene.locus-tag\", "

+

val

;

1233  return ", \"qual.qual\", \""

+ qualifier +

"\", \"qual.val\", "

+

val

;

1236  string

GetApplyGeneFunction(

const CArgumentList

& args,

const string

& rt_var)

1239

applygene_func +=

"("

+ rt_var;

1241

applygene_func +=

", \"data.gene.locus\", "

+

kGeneLocus

;

1244

applygene_func +=

", \"data.gene.desc\", "

+

kGeneDescr

;

1246

applygene_func +=

");"

;

1247  return

applygene_func;

1262

fields.erase(fields.begin());

1308  const string

rt_var =

"location"

;

1309  string function

= GetFeatLocation(

m_ArgList

, rt_var);

1310  if

(

function

.

empty

())

1325  string

applygene_func = GetApplyGeneFunction(

m_ArgList

, rt_var);

1326  if

(applygene_func.find(

","

) !=

NPOS

) {

1327  function

+=

"\n"

+ applygene_func;

1332

constraints.insert(constraints.begin(), make_pair(

kEmptyStr

, constraint));

1360  string

descr =

"Apply cds feature with '"

+

m_ArgList

[

kProteinName

].GetValue() +

"' product name"

;

1362

descr +=

"(add mRNA)"

;

1365

descr +=

"(do not add mRNA)"

;

1398  const string

rt_var =

"location"

;

1399  string function

= GetFeatLocation(

m_ArgList

, rt_var);

1400  if

(

function

.

empty

())

1413  string

applygene_func = GetApplyGeneFunction(

m_ArgList

, rt_var);

1414  if

(applygene_func.find(

","

) !=

NPOS

) {

1415  function

+=

"\n"

+ applygene_func;

1419

constraint +=

"(\"cds\") = 0"

;

1420

constraints.insert(constraints.begin(), make_pair(

kEmptyStr

, constraint));

1446  bool

for_removal =

false

, to_create =

true

;

1471

vector<CTempString> args;

1498  const string

rt_var =

"location"

;

1499  string function

= GetFeatLocation(

m_ArgList

, rt_var);

1500  if

(

function

.

empty

())

1506  string

asn_path_to_feature;

1509

asn_path_to_feature =

"\"data.gene.locus\", "

+

kGeneLocus

;

1512

asn_path_to_feature =

"\"data.gene.desc\", "

+

kGeneDescr

;

1515

asn_path_to_feature =

"\"data.gene.locus\", \"\""

;

1522  function

+=

"("

+ asn_path_to_feature +

", "

+ rt_var +

", "

+

kAddRedundant

;

1524  function

+=

", \"data.gene.desc\", "

+

kGeneDescr

;

1535  if

(!feat_is_gene) {

1536  string

applygene_func = GetApplyGeneFunction(

m_ArgList

, rt_var);

1537  if

(applygene_func.find(

","

) !=

NPOS

) {

1538  function

+=

"\n"

+ applygene_func;

1543

constraints.insert(constraints.begin(), make_pair(

kEmptyStr

, constraint));

1576  string function

= CMacroFunction_ApplyPmidToEntry::GetFuncName();

1579  function

+=

", true"

;

1587  return

{ CMacroFunction_ApplyPmidToEntry::GetFuncName() };

1603  return "Apply publication with DOI name "

+

m_ArgList

[

kNewValue

].GetValue() +

" and do DOI lookup"

;

1611  string function

= CMacroFunction_ApplyDOIToEntry::GetFuncName();

1614  function

+=

", true"

;

1622  return

{ CMacroFunction_ApplyDOIToEntry::GetFuncName() };

1627

:

CMacroActionItemData

(

"Lookup DOI number and replace unpublished references with the looked up article"

)

1641

descr =

"Look up publication by DOI name (update articles)"

;

1644

descr =

"Look up publications by DOI name"

;

1662  function

= CMacroFunction_DOILookup::GetFuncName();

1683  x_LoadPanel

(parent, CMacroFunction_SetAutodefOption::GetFuncName(), args);

1692  if

(field.empty() ||

value

.empty())

1695  string function

= CMacroFunction_SetAutodefOption::GetFuncName();

1707  return

{ CMacroFunction_SetAutodefOption::GetFuncName()};

1719  x_LoadPanel

(parent, CMacroFunction_AddUnverified::GetFuncName(), args);

1724  return "Apply Unverified "

+

x_GetField

() +

" user object"

;

1740  return

CMacroFunction_AddUnverified::GetFuncName() +

"(\""

+ field +

"\");"

;

1752  return "misassembled"

;

1755  return "contaminant"

;

1762  return

{ CMacroFunction_AddUnverified::GetFuncName() };

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

CAddCDSFeatTreeItemData()

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

virtual string GetVariables()

CAddFeatureTreeItemData()

virtual vector< string > GetFunctionNames() const

virtual string GetVariables()

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetFunction(TConstraints &constraints) const

virtual string GetVariables()

virtual string GetFunction(TConstraints &constraints) const

CAddRNAFeatTreeItemData()

virtual vector< string > GetFunctionNames() const

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

virtual vector< string > GetFunctionNames() const

bool SetData(const vector< CFuncWithArgs > &func_info)

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetFunction(TConstraints &constraints) const

CApplyAuthorsTreeItemData()

virtual string GetVariables()

CMacroAuthorNamesPanel * m_AuthorsPanel

CApplyAutodefOptTreeItemData()

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

virtual void x_AddParamPanel(wxWindow *parent)

CApplyBsrcQualTreeItemData()

virtual const vector< string > & GetKeywords() const

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

CApplyDBLinkQualTreeItemData()

virtual string GetMacroDescription() const

virtual vector< string > GetFunctionNames() const

virtual void x_AddParamPanel(wxWindow *parent)

CApplyDOILookupTreeItemData()

virtual string GetFunction(TConstraints &constraints) const

virtual void x_AddParamPanel(wxWindow *parent)

CApplyDOIToEntryTreeItemData()

virtual string GetFunction(TConstraints &constraints) const

virtual string GetMacroDescription() const

virtual vector< string > GetFunctionNames() const

virtual vector< string > GetFunctionNames() const

virtual string GetMacroDescription() const

CApplyFeatQualTreeItemData()

virtual string GetFunction(TConstraints &constraints) const

virtual bool UpdateTarget()

virtual void x_AddParamPanel(wxWindow *parent)

CApplyMolinfoQualTreeItemData()

virtual string GetVariables()

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetMacroDescription() const

virtual string GetMacroDescription() const

virtual vector< string > GetFunctionNames() const

virtual string GetFunction(TConstraints &constraints) const

CApplyPmidToEntryTreeItemData()

virtual void x_AddParamPanel(wxWindow *parent)

virtual vector< string > GetFunctionNames() const

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetMacroDescription() const

CApplyProteinQualTreeItemData()

virtual string GetFunction(TConstraints &constraints) const

virtual string GetVariables()

virtual vector< string > GetFunctionNames() const

virtual string GetFunction(TConstraints &constraints) const

CApplyPubQualTreeItemData()

virtual void x_AddParamPanel(wxWindow *parent)

virtual void x_AddParamPanel(wxWindow *parent)

virtual string GetVariables()

virtual string GetMacroDescription() const

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

CApplyQualTreeItemData(const string &description, EMacroFieldType type)

virtual bool UpdateTarget()

virtual string GetFunction(TConstraints &constraints) const

virtual string GetMacroDescription() const

virtual vector< string > GetFunctionNames() const

virtual void x_AddParamPanel(wxWindow *parent)

CApplyRNAQualTreeItemData()

virtual string GetMacroDescription() const

virtual void x_AddParamPanel(wxWindow *parent)

CApplyStrCommQualTreeItemData()

virtual string GetVariables()

virtual string GetFunction(TConstraints &constraints) const

virtual vector< string > GetFunctionNames() const

CApplyUnverifiedItemData()

virtual void x_AddParamPanel(wxWindow *parent)

virtual vector< string > GetFunctionNames() const

virtual string GetFunction(TConstraints &constraints) const

string x_GetField() const

virtual string GetMacroDescription() const

@Auth_list.hpp User-defined methods of the data storage class.

EMacroFieldType m_FieldType

for actions such as appply/edit/etc.

vector< string > x_GetPubFunctions() const

virtual void SetAuthors(const objects::CAuth_list &auth_list)

tuple< string, string, string, string > TNameTuple

TAuthorsVec GetAuthorNames() const

@end CMacroAuthorNamesPanel event handler declarations

vector< TNameTuple > TAuthorsVec

vector< string > GetFeatureTypes(bool for_removal=false, bool to_create=false, bool include_all=false) const

vector< string > GetRNATypes() const

string GetAsnPathToFieldName(const string &field, EMacroFieldType type, const string &target=kEmptyStr)

vector< string > GetncRNAClassTypes(bool include_any=true) const

static CMacroEditorContext & GetInstance()

vector< string > GetFeatQualifiers() const

const vector< string > & GetBsrcKeywords() const

string GetAsnPathToFeature(const string &feat_name) const

string GetAsnPathToAuthorFieldName(const string &author_name)

string GetAsnMolinfoValue(const string &molinfo_field, const string &choice)

vector< string > GetRNAProductnames(const string &rna_type) const

vector< string > GetFieldNames(EMacroFieldType type) const

@ ePubFieldType_AuthorLastName

@ ePubFieldType_AuthorFirstName

@ ePubFieldType_SerialNumber

@ ePubFieldType_DateMonth

@ ePubFieldType_AuthorConsortium

@ ePubFieldType_AuthorMiddleInitial

@ ePubFieldType_AuthorSuffix

static EPubFieldType GetTypeForLabel(string label)

static CRef< CDate > DateFromCollectionDate(const string &str) THROWS((CException))

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

string x_GetVariables(const vector< CTempString > &args) const

void x_LoadPanel(wxWindow *parent, const string &panel_name, const TArgumentsVector &arguments)

unique_ptr< CMacroPanelLoader > m_Panel

constructed panel for specifying function arguments

virtual bool UpdateTarget()

vector< pair< string, string > > TConstraints

bool Empty(const CNcbiOstrstream &src)

static const struct name_t names[]

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

static CTempString GetFuncName()

bool StringsAreEquivalent(const string &name1, const string &name2)

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static const char * sm_SeqNa

static const char * sm_FuncVolume

class CMacroFunction_SetPubVolIssuePages SetPubVolume(newValue, existing_text, delimiter,...

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

bool IsStructVoucherPart(const string &field)

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static const char * sm_DBLink

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static const char * sm_FuncPages

static CTempString GetFuncName()

static CTempString GetFuncName()

bool IsSatelliteSubfield(const string &field)

bool IsMobileElementTSubfield(const string &field)

static CTempString GetFuncName()

static CTempString GetFuncName()

static CTempString GetFuncName()

static const char * sm_Gene

static CTempString GetFuncName()

static const char * sm_FuncIssue

static CTempString GetFuncName()

void Reset(void)

Reset reference object.

TObjectType & GetNCObject(void) const

Get object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

static bool EndsWith(const CTempString str, const CTempString end, ECase use_case=eCase)

Check if a string ends with a specified suffix value.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

static string UIntToString(unsigned int value, TNumToStringFlags flags=0, int base=10)

Convert UInt to string.

static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)

Check if a string starts with a specified prefix value.

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 bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Test for equality of a substring with another string.

static string & ReplaceInPlace(string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)

Replace occurrences of a substring within a string.

static string & ToLower(string &str)

Convert string to lower case – string& version.

@ eNocase

Case insensitive compare.

void SetName(TName &value)

Assign a value to Name data member.

const TName & GetName(void) const

Get the Name member data.

void SetNames(TNames &value)

Assign a value to Names data member.

bool IsStd(void) const

Check if variant Std is selected.

void SetType(TType &value)

Assign a value to Type data member.

const TFirst & GetFirst(void) const

Get the First member data.

const TName & GetName(void) const

Get the variant data.

const TStd & GetStd(void) const

Get the variant data.

const TUser & GetUser(void) const

Get the variant data.

TUser & SetUser(void)

Select the variant.

bool IsUser(void) const

Check if variant User is selected.

char * dbname(DBPROCESS *dbproc)

Get name of current database.

static string s_GetFieldVar(unsigned int n)

static string s_GetValueVar(unsigned int n)

static string s_GetAddAuthorFunction(const string &nr, const string &existing_text)

static string s_GetNameForDescription(CMacroAuthorNamesPanel::TNameTuple names)

vector< macro::SArgMetaData > TArgumentsVector

CTempString UpdateTargetForFeatures(const string &feature, const string &qualifier, bool for_removal=false)

string GetResolveFuncForDBLink(const string &field, string &rt_var, TConstraints &constraints, bool &found_constraint)

void OnStructCommFieldChanged(CArgumentList &list, CArgument &arg)

bool MultipleValuesAllowed(const string &field)

void UpdateConstraintsForFeatures(TConstraints &constraints, const string &feature)

string GetStructCommQualDescr(const CArgumentList &arg_list)

string GetResolveFuncForSVPart(const string &field, const string &rt_var, TConstraints &constraints, bool &found_constraint)

string GetResolveFuncForMultiValuedQual(const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint)

string GetResolveFuncForQual(const string &container, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint=true)

Generates the definition of rt_var based on input "field".

string GetUpdatemRNADescription(const CArgument &arg)

void OnDOILookupModeChanged(CArgumentList &list, CArgument &arg)

void OnProteinNameSingle(CArgumentList &list, CArgument &arg)

bool IsGeneField(const string &field_name)

CTempString UpdateTargetForRnas(const string &rna_type)

string GetResolveFuncForApplyAuthors(CPubFieldType::EPubFieldType type, const string &rt_var, TConstraints &constraints)

void WrapInQuotes(string &str)

string GetResolveFuncForStrCommQual(const string &field, const string &field_name, const string &rt_var, TConstraints &constraints)

void OnControlsAddRNAPanelSelected(CArgumentList &list, CArgument &arg)

void OnExistingTextChanged(CArgumentList &list, CArgument &arg)

string GetHandleOldValue(const string &type)

EMacroFieldType GetSourceTypeInSinglePanel(const CArgumentList &arg_list)

void OnRnaTypeChanged(CArgumentList &list, CArgument &arg)

void UpdateConstraintsForRnas(TConstraints &constraints, const CArgumentList &arg_list)

string GetDelimiterChar(const string &del)

string GetResolveFuncForPubQual(const string &field, string &rt_var, TConstraints &constraints)

void AppendUpdatemRNAFnc(bool update_mrna, string &function)

string GetExistingTextDescr(const CArgumentList &arg_list)

const string kApplyMultiple

const TArgumentsVector & GetApplyCDSArgs()

const string kAddRedundant

const string kProteinDescr

const TArgumentsVector & GetApplyPmidArgs()

const string kAddFeatQual3

const string kUnverMisassembled

const string kAddFeatVal2

const TArgumentsVector & GetUnverifiedArgs()

const TArgumentsVector & GetSetArgs()

const TArgumentsVector & GetDOILookupArgs()

const string kProteinName

const string kAddFeatVal4

const string kAddFeatQual1

const TArgumentsVector & GetOptionalArgs()

const string kExistingText

const TArgumentsVector & GetApplyRNAArgs()

const TArgumentsVector & GetBsrcArgs()

const string kUnverContamination

const string kAddFeatQual2

const string kAddFeatQual4

const TArgumentsVector & GetApplyOtherFeatureArgs()

const string kAddFeatVal1

const string kStrCommField

const string kFeatureType

const string kAddFeatVal3

constexpr bool empty(list< Ts... >) noexcept

const GenericPointer< typename T::ValueType > T2 value

void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)

static SLJIT_INLINE sljit_ins nr(sljit_gpr dst, sljit_gpr src)

static const char * kMiddle


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