NCBI C++ ToolKit
Classes | Macros
autodef_options.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objects/seqfeat/Seq_feat.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objects/general/Object_id.hpp>
#include <objmgr/util/autodef_available_modifier.hpp>
#include <objmgr/util/autodef_source_desc.hpp>
+ Include dependency graph for autodef_options.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CAutoDefOptions
 

Macros

#define AUTODEFBOOLFIELD(Fieldname)
 
#define AUTODEFENUMFIELD(Fieldname)
 

Macro Definition Documentation

◆ AUTODEFBOOLFIELD

#define AUTODEFBOOLFIELD (   Fieldname)
Value:
bool Get##Fieldname() const { return m_BooleanFlags[eOptionFieldType_##Fieldname]; }; \
void Set##Fieldname(bool val = true) { m_BooleanFlags[eOptionFieldType_##Fieldname] = val; }
const TYPE & Get(const CNamedParameterList *param)

Definition at line 165 of file autodef_options.hpp.

◆ AUTODEFENUMFIELD

#define AUTODEFENUMFIELD (   Fieldname)
Value:
CRef<CUser_field> x_Make##Fieldname() const { \
CRef<CUser_field> field(new CUser_field()); \
field->SetLabel().SetStr(GetFieldType(eOptionFieldType_##Fieldname)); \
field->SetData().SetStr(Get##Fieldname(m_##Fieldname)); \
return field; \
}

Definition at line 270 of file autodef_options.hpp.

Modified on Fri Sep 20 14:58:21 2024 by modify_doxy.py rev. 669887