73 Ostream&
operator<<(Ostream&,
const dictionary&);
103 name_(move(
name.name_))
124 const word scopedName = name_.
name();
128 if (i == scopedName.npos)
134 return scopedName.substr(i + 1, scopedName.npos);
148 name_ = move(
name.name_);
181 const entry* lookupDotScopedSubEntryPtr
190 const entry* lookupSlashScopedSubEntryPtr
199 const entry* lookupScopedSubEntryPtr
209 const bool patternMatch,
218 const bool patternMatch,
247 static bool writeOptionalEntries;
310 return this == &null;
317 label startLineNumber()
const;
320 label endLineNumber()
const;
337 bool recursive=
false,
338 bool patternMatch=
true 345 const entry* lookupEntryPtr
356 entry* lookupEntryPtr
367 const entry* lookupEntryPtrBackwardsCompatible
377 const entry& lookupEntry
388 const entry& lookupEntryBackwardsCompatible
401 bool recursive=
false,
402 bool patternMatch=
true 413 bool recursive=
false,
414 bool patternMatch=
true 425 bool recursive=
false,
426 bool patternMatch=
true 434 T lookupBackwardsCompatible
437 bool recursive=
false,
438 bool patternMatch=
true 450 bool recursive=
false,
451 bool patternMatch=
true 459 T lookupOrDefaultBackwardsCompatible
463 bool recursive=
false,
464 bool patternMatch=
true 476 bool recursive=
false,
477 bool patternMatch=
true 489 bool recursive=
false,
490 bool patternMatch=
true 496 const entry* lookupScopedEntryPtr
504 bool isDict(
const word&)
const;
525 const bool mustRead =
false 556 bool substituteKeyword(
const word& keyword);
560 bool substituteScopedKeyword(
const word& keyword);
565 bool add(
entry*,
bool mergeEntry=
false);
570 void add(
const entry&,
bool mergeEntry=
false);
578 void add(
const keyType&,
const string&,
bool overwrite=
false);
586 void add(
const keyType&,
const scalar,
bool overwrite=
false);
594 bool mergeEntry=
false 600 void add(
const keyType&,
const T&,
bool overwrite=
false);
606 void set(
const entry&);
613 void set(
const keyType&,
const T&);
616 bool remove(
const word&);
622 const keyType& oldKeyword,
623 const keyType& newKeyword,
624 bool forceOverwrite=
false 646 virtual bool global()
const;
720 virtual bool global()
const 745 const string& funcArgs,
754 const string& funcArgs,
766 template<
class EntryType>
771 template<
class EntryType>
775 const word& entryName,
776 const EntryType& value1,
777 const EntryType& value2
Template class for intrusive linked lists.
A class for handling keywords in dictionaries.
HashSet< Key, Hash > operator|(const HashSet< Key, Hash > &hash1, const HashSet< Key, Hash > &hash2)
Combine entries from HashSets.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Template class for non-intrusive linked lists.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
dictionaryName()
Construct dictionaryName null.
void writeEntryIfDifferent(Ostream &os, const word &entryName, const EntryType &value1, const EntryType &value2)
Helper function to write the keyword and entry only if the.
An STL-conforming const_iterator.
An STL-conforming iterator.
An STL-conforming const_iterator.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const word dictName() const
Return the local dictionary name (final part of scoped name)
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Pair< word > dictAndKeyword(const word &scopedName)
Extracts dict name and keyword.
bool read(const char *, int32_t &)
stressControl lookup("compactNormalStress") >> compactNormalStress
bool isNull(const T &t)
Return true if t is a reference to the nullObject of type T.
const fileName & name() const
Return the dictionary name.
Intrusive doubly-linked list.
A class for handling words, derived from string.
Istream & operator>>(Istream &, directionInfo &)
word name() const
Return file name (part beyond last /)
An STL-conforming iterator.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
An STL-conforming hash table.
graph_traits< Graph >::vertices_size_type size_type
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void operator=(const dictionaryName &name)
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Ostream & operator<<(Ostream &, const ensightPart &)
Non-intrusive doubly-linked list.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Foam::argList args(argc, argv)
void dictArgList(const string &funcArgs, word &funcName, wordReList &args, List< Tuple2< word, string >> &namedArgs)
Parse dictionary substitution argument list.
A keyword and a list of tokens is an 'entry'.