Go to the documentation of this file.
40 bool duplicates =
false;
46 if (iter != hashed.end())
53 hashed.
insert(list[listI], 1);
60 Info<<
nl <<
"WARNING: " << context <<
" with identical names:";
65 Info<<
" " << iter.key();
92 ioObj.
note() =
"as yet unsupported interfaces (baffles)";
107 const word& propertyName,
129 ioObj.
note() =
"persistent data for star-cd <-> foam translation";
149 cellTable_.writeDict(registry);
150 writeInterfaces(registry);
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static void warnDuplicates(const word &context, const wordList &)
Warn about repeated names.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
Write using given format, version and compression.
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
const Time & time() const
Return time.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeInterfaces(const objectRegistry &) const
static const versionNumber currentVersion
Current version number.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Registry of regIOobjects.
fileName objectPath() const
Return complete path + object name.
bool writeHeader(Ostream &) const
Write header.
List< labelPair > interfaces_
Association between two faces.
const word & name() const
Return name.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
void writeMeshLabelList(const objectRegistry ®istry, const word &propertyName, const labelList &list, IOstream::streamFormat fmt=IOstream::ASCII) const
Write List<label> in constant/polyMesh.
void writeAux(const objectRegistry &) const
Write auxiliary information.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & constant() const
Return constant name.
void size(const label)
Override size to be inconsistent with allocated storage.
string & note()
Return non-constant access to the optional note.
streamFormat
Enumeration for the format of data in the stream.