NCBI C++ ToolKit
Macros | Functions | Variables
macro_field_resolve.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbimisc.hpp>
#include <gui/objutils/macro_field_resolve.hpp>
+ Include dependency graph for macro_field_resolve.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define _TRACE(arg)   ((void)0)
 

Functions

 USING_SCOPE (objects)
 
static void s_Start_GetFields (string &path, const CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_ResolveFieldsOfClass (string &path, const CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_ResolveFieldsOfChoice (string &path, const CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_ResolveFieldsOfContainer (string &path, const CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_ResolveFieldsOfPointer (string &path, const CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_Start_SetFields (string &path, CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_SetFieldsOfClass (string &path, CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_SetFieldsOfChoice (string &path, CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_SetFieldsOfContainer (string &path, CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
static void s_SetFieldsOfPointer (string &path, CObjectInfo &info, CMQueryNodeValue::TObs *results, bool &found)
 
bool GetFieldsByName (CMQueryNodeValue::TObs *results, const CObjectInfo &oi_i, const string &field_name)
 Resolve existing dot qualified ASN.1 name (field_name) starting from the object information instance provided as a parameter (oi_i). More...
 
bool SetFieldsByName (CMQueryNodeValue::TObs *results, CObjectInfo &oi_i, const string &field_name)
 Resolve not necessarily existing dot qualified ASN.1 name (field_name) starting from the object information instance provided as a parameter (oi_i). More...
 
static bool s_RemovePrimitiveValue (CObjectInfo &obj)
 
static bool s_RemoveClassMember (CMQueryNodeValue::SResolvedField &obj)
 
static bool s_ResetChoiceVariant (CMQueryNodeValue::SResolvedField &obj)
 
static bool s_RemoveContainerElement (CMQueryNodeValue::SResolvedField &obj)
 
bool RemoveFieldByName (CMQueryNodeValue::SResolvedField &res_field)
 Remove the object information instance corresponding to field, using information about its parent node. More...
 
bool SetSimpleTypeValue (CObjectInfo &oi, const CMQueryNodeValue &value, edit::EExistingText existing_text)
 
bool ResolveAndSetSimpleTypeValue (CObjectInfo &oi, const string &field_name, const CMQueryNodeValue &value, edit::EExistingText existing_text)
 
bool GetSimpleTypeValue (CObjectInfo &oi, const string &field_name, CMQueryNodeValue &value)
 Get single node data from the node specified by parameter of type CObjectInfo and additionally field field_name (set to empty string if oi is already at primitive value) More...
 
bool GetPrimitiveValue (const CObjectInfo &oi, CMQueryNodeValue &value)
 Get a primitive value from oi. More...
 
static bool s_ResolveIdentOICommon (const CObjectInfo &oi, const string &identifier, CMQueryNodeValue::TObs &nodes)
 
bool ResolveIdentToSimple (const CObjectInfo &oi, const string &identifier, CMQueryNodeValue &v)
 Resolve name to simple types value. More...
 
bool ResolveIdentToObjects (const CObjectInfo &oi, const string &identifier, CMQueryNodeValue &v)
 Resolve name to the list of objects. More...
 

Variables

static const char * kdot = "."
 

Macro Definition Documentation

◆ _TRACE

#define _TRACE (   arg)    ((void)0)

Definition at line 37 of file macro_field_resolve.cpp.

Modified on Wed May 29 18:43:09 2024 by modify_doxy.py rev. 669887