Go to the source code of this file.
◆ ReadTypeField
#define ReadTypeField |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
◆ MapTypeFields [1/2]
#define MapTypeFields |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
{ \
Type##Fields_.insert \
( \
iter.key(), \
mapper(*iter()).ptr() \
); \
}
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
◆ MapTypeFields [2/2]
#define MapTypeFields |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAllIter(HashPtrTable<Field<Type>>, Type##Fields_, iter) \
{ \
HashPtrTable<Field<Type>>::const_iterator dptfIter = \
dptf.Type##Fields_.find(iter.key());
\
if (dptfIter != dptf.Type##Fields_.end()) \
{ \
mapper(*iter(), *dptfIter()); \
} \
}
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
if(!fvConstraints.PtrListDictionary< fvConstraint >::size())
◆ ResetTypeFields
#define ResetTypeFields |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAllIter(HashPtrTable<Field<Type>>, Type##Fields_, iter) \
{ \
HashPtrTable<Field<Type>>::const_iterator dptfIter = \
dptf.Type##Fields_.find(iter.key());
\
if (dptfIter != dptf.Type##Fields_.end()) \
{ \
iter()->reset(*dptfIter()); \
} \
}
◆ WriteTypeFieldEntry
#define WriteTypeFieldEntry |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: else if (Type##Fields_.found(iter().keyword())) \
{ \
writeEntry \
( \
os, \
iter().keyword(), \
*Type##Fields_.find(iter().keyword())() \
); \
}