Go to the source code of this file.
Go to the SVN repository for this file.
|
#define | FUSE_STRINGFIELDS(Var1, Var2, Field) |
|
#define | FUSE_BOOLEANFIELDS(Var1, Var2, Field) |
|
#define | FUSE_LISTFIELDS(Var1, Var2, Type, Field) |
|
#define | FUSE_VECTORFIELDS(Var1, Var2, Type, Field) |
|
◆ FUSE_BOOLEANFIELDS
#define FUSE_BOOLEANFIELDS |
( |
|
Var1, |
|
|
|
Var2, |
|
|
|
Field |
|
) |
| |
Value: {{ \
bool fused_value = (Var1).IsSet##Field() ? (Var1).
Get##Field() :
false; \
bool
value = (Var2).IsSet##Field() ? (Var2).
Get##Field() :
false; \
if (fused_value ||
value) { \
(Var1).Set##Field(true); \
} else { \
(Var1).Reset##Field(); \
} \
}}
const TYPE & Get(const CNamedParameterList *param)
const GenericPointer< typename T::ValueType > T2 value
Definition at line 390 of file update_seq.cpp.
◆ FUSE_LISTFIELDS
#define FUSE_LISTFIELDS |
( |
|
Var1, |
|
|
|
Var2, |
|
|
|
Type, |
|
|
|
Field |
|
) |
| |
Value: if ((Var2).IsSet##Field() && !(Var2).
Get##Field().
empty()) { \
C##
Type::T##Field& cont = (Var1).Set##Field(); \
copy((Var2).
Get##Field().begin(), (Var2).
Get##Field().end(), back_inserter(cont)); \
}
constexpr bool empty(list< Ts... >) noexcept
Definition at line 401 of file update_seq.cpp.
◆ FUSE_STRINGFIELDS
#define FUSE_STRINGFIELDS |
( |
|
Var1, |
|
|
|
Var2, |
|
|
|
Field |
|
) |
| |
Value: {{ \
string orig_value = (Var1).IsSet##Field() ? (Var1).
Get##Field() :
kEmptyStr; \
(Var1).Set##Field(orig_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.
@ eExistingText_append_semi
bool AddValueToString(string &str, const string &value, EExistingText existing_text)
Add text to an existing string, using the "existing_text" directive to combine new text with existing...
Definition at line 381 of file update_seq.cpp.
◆ FUSE_VECTORFIELDS
#define FUSE_VECTORFIELDS |
( |
|
Var1, |
|
|
|
Var2, |
|
|
|
Type, |
|
|
|
Field |
|
) |
| |
Value: {{ \
if ((Var2).IsSet##Field() && !(Var2).
Get##Field().
empty()) { \
size_t new_size = (Var2).
Get##Field().size(); \
new_size += (Var1).IsSet##Field() ? (Var1).
Get##Field().size() : 0; \
C##
Type::T##Field& cont = (Var1).Set##Field(); \
cont.reserve(new_size); \
copy((Var2).
Get##Field().begin(), (Var2).
Get##Field().end(), back_inserter(cont)); \
} \
}}
Definition at line 407 of file update_seq.cpp.
◆ USING_SCOPE()
◆ kNewLocalID
const char* kNewLocalID = "NewSeq" |
|
static |