Public Member Functions | List of all members
objectRegistry Class Reference

Registry of regIOobjects. More...

Inheritance diagram for objectRegistry:
Inheritance graph
[legend]
Collaboration diagram for objectRegistry:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("objectRegistry")
 
 objectRegistry (const Time &db, const label nObjects=128)
 
 objectRegistry (const IOobject &io, const label nObjects=128)
 
virtual ~objectRegistry ()
 
const objectRegistrythisDb () const noexcept
 
const objectRegistryparent () const noexcept
 
const Timetime () const noexcept
 
bool isTimeDb () const noexcept
 
virtual const fileNamedbDir () const
 
HashTable< wordHashSetclasses () const
 
template<class MatchPredicate >
HashTable< wordHashSetclasses (const MatchPredicate &matchName) const
 
label count (const char *clsName) const
 
template<class MatchPredicate >
label count (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
label count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type >
label count (const bool strict=false) const
 
template<class Type , class MatchPredicate >
label count (const MatchPredicate &matchName) const
 
wordList names () const
 
wordList names (const char *clsName) const
 
template<class MatchPredicate >
wordList names (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
wordList names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type >
wordList names () const
 
template<class Type , class MatchPredicate >
wordList names (const MatchPredicate &matchName) const
 
wordList sortedNames () const
 
wordList sortedNames (const char *clsName) const
 
template<class MatchPredicate >
wordList sortedNames (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
wordList sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type >
wordList sortedNames () const
 
template<class Type , class MatchPredicate >
wordList sortedNames (const MatchPredicate &matchName) const
 
const objectRegistrysubRegistry (const word &name, const bool forceCreate=false, const bool recursive=false) const
 
template<class Type >
HashTable< const Type * > lookupClass (const bool strict=false) const
 
template<class Type >
HashTable< Type * > lookupClass (const bool strict=false)
 
const regIOobjectcfindIOobject (const word &name, const bool recursive=false) const
 
bool found (const word &name, const bool recursive=false) const
 
template<class Type >
bool foundObject (const word &name, const bool recursive=false) const
 
template<class Type >
const Type * cfindObject (const word &name, const bool recursive=false) const
 
template<class Type >
const Type * findObject (const word &name, const bool recursive=false) const
 
template<class Type >
Type * findObject (const word &name, const bool recursive=false)
 
template<class Type >
Type * getObjectPtr (const word &name, const bool recursive=false) const
 
template<class Type >
const Type & lookupObject (const word &name, const bool recursive=false) const
 
template<class Type >
Type & lookupObjectRef (const word &name, const bool recursive=false) const
 
label getEvent () const
 
bool checkIn (regIOobject *io) const
 
bool checkIn (regIOobject &io) const
 
bool checkOut (regIOobject *io) const
 
bool checkOut (regIOobject &io) const
 
bool checkOut (const word &key) const
 
void clear ()
 
void clearStorage ()
 
bool erase (const iterator &iter)
 
bool erase (const word &key)
 
label erase (std::initializer_list< word > keys)
 
label erase (const UList< word > &keys)
 
virtual void rename (const word &newName)
 
virtual bool modified () const
 
void readModifiedObjects ()
 
virtual bool readIfModified ()
 
virtual bool writeData (Ostream &) const
 
virtual bool writeObject (IOstreamOption streamOpt, const bool valid) const
 
template<class Type >
const Type * lookupObjectPtr (const word &name, bool recursive=false) const
 
template<class Type >
Type * lookupObjectRefPtr (const word &name, bool recursive=false) const
 
template<class MatchPredicate >
Foam::HashTable< Foam::wordHashSetclassesImpl (const objectRegistry &list, const MatchPredicate &matchName)
 
template<class MatchPredicate1 , class MatchPredicate2 >
Foam::label countImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName)
 
template<class Type , class MatchPredicate >
Foam::label countTypeImpl (const objectRegistry &list, const MatchPredicate &matchName)
 
template<class MatchPredicate1 , class MatchPredicate2 >
Foam::wordList namesImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName, const bool doSort)
 
template<class Type , class MatchPredicate >
Foam::wordList namesTypeImpl (const objectRegistry &list, const MatchPredicate &matchName, const bool doSort)
 
template<class MatchPredicate >
Foam::HashTable< Foam::wordHashSetclasses (const MatchPredicate &matchName) const
 
template<class MatchPredicate >
Foam::label count (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
Foam::label count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type , class MatchPredicate >
Foam::label count (const MatchPredicate &matchName) const
 
template<class Type >
Foam::label count (const bool strict) const
 
template<class MatchPredicate >
Foam::wordList names (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
Foam::wordList names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type >
Foam::wordList names () const
 
template<class Type , class MatchPredicate >
Foam::wordList names (const MatchPredicate &matchName) const
 
template<class MatchPredicate >
Foam::wordList sortedNames (const MatchPredicate &matchClass) const
 
template<class MatchPredicate1 , class MatchPredicate2 >
Foam::wordList sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const
 
template<class Type >
Foam::wordList sortedNames () const
 
template<class Type , class MatchPredicate >
Foam::wordList sortedNames (const MatchPredicate &matchName) const
 
template<class Type >
Foam::HashTable< const Type * > lookupClass (const bool strict) const
 
template<class Type >
Foam::HashTable< Type * > lookupClass (const bool strict)
 
- Public Member Functions inherited from regIOobject
 TypeName ("regIOobject")
 
 regIOobject (const IOobject &io, const bool isTimeObject=false)
 
 regIOobject (const regIOobject &rio)
 
 regIOobject (const regIOobject &rio, bool registerCopy)
 
 regIOobject (const word &newName, const regIOobject &, bool registerCopy)
 
 regIOobject (const IOobject &io, const regIOobject &rio)
 
virtual ~regIOobject ()
 
bool checkIn ()
 
bool checkOut ()
 
virtual void addWatch ()
 
bool ownedByRegistry () const
 
bool store ()
 
void release (const bool unregister=false)
 
label eventNo () const
 
label & eventNo ()
 
bool upToDate (const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const
 
void setUpToDate ()
 
const dictionaryfindMetaData () const noexcept
 
dictionarygetMetaData () noexcept
 
void removeMetaData ()
 
virtual void updateMetaData ()
 
virtual fileName filePath () const
 
bool headerOk ()
 
IstreamreadStream (const word &, const bool valid=true)
 
void close ()
 
virtual bool readData (Istream &)
 
virtual bool read ()
 
virtual label addWatch (const fileName &)
 
const labelListwatchIndices () const
 
labelListwatchIndices ()
 
virtual bool write (const bool valid=true) const
 
virtual bool global () const
 
void operator= (const IOobject &io)
 
virtual bool writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const
 
- Public Member Functions inherited from IOobject
 TypeName ("IOobject")
 
 IOobject (const IOobject &)=default
 
virtual ~IOobject ()=default
 
 IOobject (const word &name, const fileName &instance, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const fileName &path, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const IOobject &io, const objectRegistry &registry)
 
 IOobject (const IOobject &io, const word &name)
 
 IOobject (const IOobject &io, readOption, writeOption)
 
autoPtr< IOobjectclone () const
 
autoPtr< IOobjectclone (const objectRegistry &registry) const
 
const objectRegistrydb () const noexcept
 
const Timetime () const
 
const wordname () const noexcept
 
const wordheaderClassName () const noexcept
 
wordheaderClassName () noexcept
 
const stringnote () const noexcept
 
stringnote () noexcept
 
bool registerObject () const noexcept
 
bool registerObject (bool on) noexcept
 
bool globalObject () const noexcept
 
bool globalObject (bool on) noexcept
 
unsigned labelByteSize () const noexcept
 
unsigned scalarByteSize () const noexcept
 
bool isHeaderClassName (const word &clsName) const
 
template<class Type >
bool isHeaderClassName () const
 
readOption readOpt () const noexcept
 
readOption readOpt (readOption opt) noexcept
 
writeOption writeOpt () const noexcept
 
writeOption writeOpt (writeOption opt) noexcept
 
word group () const
 
word member () const
 
const fileNamerootPath () const
 
const fileNamecaseName () const
 
const fileNameinstance () const noexcept
 
fileNameinstance () noexcept
 
const fileNamelocal () const noexcept
 
fileName path () const
 
fileName path (const word &instance, const fileName &local=fileName::null) const
 
fileName objectPath () const
 
fileName objectRelPath () const
 
fileName localFilePath (const word &typeName, const bool search=true) const
 
fileName globalFilePath (const word &typeName, const bool search=true) const
 
IOstreamOption parseHeader (const dictionary &headerDict)
 
bool readHeader (Istream &is)
 
bool readHeader (dictionary &headerDict, Istream &is)
 
template<class Type >
bool typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true)
 
template<class Type >
void warnNoRereading () const
 
bool writeHeader (Ostream &os) const
 
bool writeHeader (Ostream &os, const word &objectType) const
 
void writeHeader (dictionary &dict, IOstreamOption streamOpt) const
 
void writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const
 
bool good () const noexcept
 
bool bad () const noexcept
 
InfoProxy< IOobjectinfo () const
 
void operator= (const IOobject &io)
 
readOptionreadOpt () noexcept
 
writeOptionwriteOpt () noexcept
 
boolregisterObject () noexcept
 
boolglobalObject () noexcept
 
template<>
bool isHeaderClassName () const
 
template<class StringType >
Foam::word groupName (StringType base, const word &group)
 
- Public Member Functions inherited from HashTable< regIOobject * >
 HashTable ()
 
 HashTable (const label size)
 
 HashTable (Istream &is, const label size=128)
 
 HashTable (const this_type &ht)
 
 HashTable (this_type &&rhs)
 
 HashTable (std::initializer_list< std::pair< Key, T >> list)
 
 ~HashTable ()
 
label capacity () const noexcept
 
label size () const noexcept
 
bool empty () const noexcept
 
Tat (const Key &key)
 
const Tat (const Key &key) const
 
bool found (const Key &key) const
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
const_iterator cfind (const Key &key) const
 
const Tlookup (const Key &key, const T &deflt) const
 
List< Key > toc () const
 
List< Key > sortedToc () const
 
List< Key > sortedToc (const Compare &comp) const
 
Foam::List< Key > sortedToc (const Compare &comp) const
 
List< Key > tocKeys (const UnaryPredicate &pred, const bool invert=false) const
 
Foam::List< Key > tocKeys (const UnaryPredicate &pred, const bool invert) const
 
List< Key > tocValues (const UnaryPredicate &pred, const bool invert=false) const
 
Foam::List< Key > tocValues (const UnaryPredicate &pred, const bool invert) const
 
List< Key > tocEntries (const BinaryPredicate &pred, const bool invert=false) const
 
Foam::List< Key > tocEntries (const BinaryPredicate &pred, const bool invert) const
 
label countKeys (const UnaryPredicate &pred, const bool invert=false) const
 
Foam::label countKeys (const UnaryPredicate &pred, const bool invert) const
 
label countValues (const UnaryPredicate &pred, const bool invert=false) const
 
Foam::label countValues (const UnaryPredicate &pred, const bool invert) const
 
label countEntries (const BinaryPredicate &pred, const bool invert=false) const
 
Foam::label countEntries (const BinaryPredicate &pred, const bool invert) const
 
bool emplace (const Key &key, Args &&... args)
 
bool emplace_set (const Key &key, Args &&... args)
 
bool insert (const Key &key, const T &obj)
 
bool insert (const Key &key, T &&obj)
 
bool set (const Key &key, const T &obj)
 
bool set (const Key &key, T &&obj)
 
bool erase (const iterator &iter)
 
bool erase (const Key &key)
 
label erase (const HashTable< AnyType, Key, AnyHash > &other)
 
label erase (std::initializer_list< Key > keys)
 
label erase (InputIter first, InputIter last)
 
label erase (const FixedList< Key, N > &keys)
 
label erase (const UList< Key > &keys)
 
Foam::label erase (InputIter first, InputIter last)
 
Foam::label erase (const FixedList< Key, N > &keys)
 
Foam::label erase (const HashTable< AnyType, Key, AnyHash > &other)
 
label retain (const HashTable< AnyType, Key, AnyHash > &other)
 
Foam::label retain (const HashTable< AnyType, Key, AnyHash > &other)
 
label filterKeys (const UnaryPredicate &pred, const bool pruning=false)
 
Foam::label filterKeys (const UnaryPredicate &pred, const bool pruning)
 
label filterValues (const UnaryPredicate &pred, const bool pruning=false)
 
Foam::label filterValues (const UnaryPredicate &pred, const bool pruning)
 
label filterEntries (const BinaryPredicate &pred, const bool pruning=false)
 
Foam::label filterEntries (const BinaryPredicate &pred, const bool pruning)
 
void resize (const label sz)
 
void clear ()
 
void clearStorage ()
 
void swap (HashTable< T, Key, Hash > &rhs)
 
void transfer (HashTable< T, Key, Hash > &rhs)
 
Toperator[] (const Key &key)
 
const Toperator[] (const Key &key) const
 
Toperator() (const Key &key)
 
Toperator() (const Key &key, const T &deflt)
 
void operator= (const this_type &rhs)
 
void operator= (std::initializer_list< std::pair< Key, T >> rhs)
 
void operator= (this_type &&rhs)
 
bool operator== (const this_type &rhs) const
 
bool operator!= (const this_type &rhs) const
 
this_typeoperator+= (const this_type &rhs)
 
const_iterator_pair< const_key_iterator, this_typekeys () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
OstreamprintInfo (Ostream &os) const
 
OstreamwriteKeys (Ostream &os, const label shortLen=0) const
 

Additional Inherited Members

- Public Types inherited from IOobject
enum  objectState : char { GOOD, BAD }
 
enum  readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ }
 
enum  writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 }
 
enum  fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster }
 
- Public Types inherited from HashTable< regIOobject * >
typedef HashTable< T, Key, Hashthis_type
 
typedef Key key_type
 
typedef T mapped_type
 
typedef T value_type
 
typedef Hash hasher
 
typedef Tpointer
 
typedef Treference
 
typedef label difference_type
 
typedef label size_type
 
using key_iterator = key_iterator_base< iterator >
 
using const_key_iterator = key_iterator_base< const_iterator >
 
- Static Public Member Functions inherited from regIOobject
template<class Type >
static Type & store (Type *p)
 
template<class Type >
static Type & store (autoPtr< Type > &ptr)
 
template<class Type >
static Type & store (autoPtr< Type > &&ptr)
 
template<class Type >
static Type & store (refPtr< Type > &ptr)
 
template<class Type >
static Type & store (refPtr< Type > &&ptr)
 
template<class Type >
static Type & store (tmp< Type > &ptr)
 
template<class Type >
static Type & store (tmp< Type > &&ptr)
 
- Static Public Member Functions inherited from IOobject
static bool bannerEnabled () noexcept
 
static bool bannerEnabled (bool on) noexcept
 
static bool fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name)
 
template<class StringType >
static word groupName (StringType base, const word &group)
 
static word group (const word &name)
 
static word member (const word &name)
 
static word scopedName (const std::string &scope, const word &name)
 
static IOobject selectIO (const IOobject &io, const fileName &altFile, const word &ioName="")
 
static OstreamwriteBanner (Ostream &os, const bool noSyntaxHint=false)
 
static OstreamwriteDivider (Ostream &os)
 
static OstreamwriteEndDivider (Ostream &os)
 
- Public Attributes inherited from HashTable< regIOobject * >
const typedef Tconst_pointer
 
const typedef Tconst_reference
 
- Static Public Attributes inherited from IOobject
static const Enum< fileCheckTypesfileCheckTypesNames
 
static char scopeSeparator
 
static fileCheckTypes fileModificationChecking
 
static float fileModificationSkew
 
static int maxFileModificationPolls
 
- Protected Member Functions inherited from regIOobject
bool readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName)
 
- Protected Member Functions inherited from IOobject
void setBad (const string &s)
 
- Protected Member Functions inherited from HashTable< regIOobject * >
bool iterator_erase (node_type *&entry, label &index)
 
- Static Protected Member Functions inherited from IOobject
static void writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr)
 
static void writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr)
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 

Detailed Description

Registry of regIOobjects.

Source files

Definition at line 56 of file objectRegistry.H.

Constructor & Destructor Documentation

◆ objectRegistry() [1/2]

objectRegistry ( const Time db,
const label  nObjects = 128 
)
explicit

Definition at line 75 of file objectRegistry.C.

◆ objectRegistry() [2/2]

objectRegistry ( const IOobject io,
const label  nObjects = 128 
)
explicit

Definition at line 98 of file objectRegistry.C.

References IOobject::AUTO_WRITE, and IOobject::writeOpt().

Here is the call graph for this function:

◆ ~objectRegistry()

~objectRegistry ( )
virtual

Definition at line 113 of file objectRegistry.C.

References objectRegistry::clear().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "objectRegistry"  )

◆ thisDb()

const objectRegistry& thisDb ( ) const
inlinenoexcept

Definition at line 162 of file objectRegistry.H.

◆ parent()

const objectRegistry& parent ( ) const
inlinenoexcept

Definition at line 168 of file objectRegistry.H.

◆ time()

const Time& time ( ) const
inlinenoexcept

Definition at line 174 of file objectRegistry.H.

Referenced by mappedPatchBase::addWorldConnection(), minTimeStepCondition::apply(), equationMaxIterCondition::apply(), maxDurationCondition::apply(), averageCondition::apply(), SprayParcel::calcAtomization(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), cyclicAMIPolyPatch::canResetAMI(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), codedBase::codeDict(), logFiles::createFiles(), cloud::createIOField(), exprResultGlobals::Delete(), equationInitialResidualCondition::equationInitialResidualCondition(), fieldAverageItem::evolve(), faMesh::faMesh(), coupleGroupIdentifier::findOtherPatchID(), mappedPatchBase::getWorldCommunicator(), DSMCParcel::hitWallPatch(), codedPoints0MotionSolver::libs(), mappedPatchBase::lookupMesh(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), Foam::MapLagrangianFields(), Foam::MapMesh(), meshReader::mesh(), triSurfaceMesh::movePoints(), lumpedPointIOMovement::New(), exprResultGlobals::New(), coordinateSystems::New(), GAMGAgglomeration::New(), objectiveManager::objectiveManager(), motionSolver::iNew::operator()(), points0MotionSolver::points0IO(), polyMesh::polyMesh(), uncollatedFileOperation::readObjects(), masterUncollatedFileOperation::readObjects(), polyMesh::readUpdate(), regionProperties::regionProperties(), triSurfaceMesh::setField(), twoPhaseSystem::solve(), multiphaseSystem::solve(), RASTurbulenceModel::solveIter(), patchFunction1Base::time(), fvMesh::time(), IOobject::time(), MPPICParcel::trackingData::updateAverages(), KinematicParcel::trackingData::updateAverages(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), polyMesh::updateMesh(), FIREMeshWriter::write(), areaWrite::write(), PDRblock::writeBlockMeshDict(), and molecule::writeFields().

◆ isTimeDb()

bool isTimeDb ( ) const
noexcept

Definition at line 121 of file objectRegistry.C.

◆ dbDir()

virtual const fileName& dbDir ( ) const
inlinevirtual

◆ classes() [1/3]

Foam::HashTable< Foam::wordHashSet > classes ( ) const

Definition at line 127 of file objectRegistry.C.

Referenced by areaWrite::write().

Here is the caller graph for this function:

◆ classes() [2/3]

HashTable<wordHashSet> classes ( const MatchPredicate &  matchName) const

◆ count() [1/9]

Foam::label count ( const char *  clsName) const

Definition at line 133 of file objectRegistry.C.

References Foam::BitOps::count().

Referenced by vtkWrite::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ count() [2/9]

label count ( const MatchPredicate &  matchClass) const

◆ count() [3/9]

label count ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

◆ count() [4/9]

label count ( const bool  strict = false) const

◆ count() [5/9]

label count ( const MatchPredicate &  matchName) const

◆ names() [1/10]

Foam::wordList names ( ) const

Definition at line 140 of file objectRegistry.C.

References HashTable::toc().

Referenced by vtkUnstructuredReader::printFieldStats(), areaWrite::write(), vtkWrite::write(), and vtkCloud::writeFields().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ names() [2/10]

Foam::wordList names ( const char *  clsName) const

Definition at line 152 of file objectRegistry.C.

References Foam::PtrListOps::names().

Here is the call graph for this function:

◆ names() [3/10]

wordList names ( const MatchPredicate &  matchClass) const

◆ names() [4/10]

wordList names ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

◆ names() [5/10]

wordList names ( ) const

◆ names() [6/10]

wordList names ( const MatchPredicate &  matchName) const

◆ sortedNames() [1/10]

Foam::wordList sortedNames ( ) const

◆ sortedNames() [2/10]

Foam::wordList sortedNames ( const char *  clsName) const

Definition at line 159 of file objectRegistry.C.

◆ sortedNames() [3/10]

wordList sortedNames ( const MatchPredicate &  matchClass) const

◆ sortedNames() [4/10]

wordList sortedNames ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

◆ sortedNames() [5/10]

wordList sortedNames ( ) const

◆ sortedNames() [6/10]

wordList sortedNames ( const MatchPredicate &  matchName) const

◆ subRegistry()

const Foam::objectRegistry & subRegistry ( const word name,
const bool  forceCreate = false,
const bool  recursive = false 
) const

Definition at line 167 of file objectRegistry.C.

References Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, and regIOobject::store().

Referenced by polySurface::pointData(), mappedPatchBase::readDict(), mappedPatchBase::subRegistry(), and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookupClass() [1/4]

HashTable<const Type*> lookupClass ( const bool  strict = false) const

◆ lookupClass() [2/4]

HashTable<Type*> lookupClass ( const bool  strict = false)

◆ cfindIOobject()

const Foam::regIOobject * cfindIOobject ( const word name,
const bool  recursive = false 
) const

Definition at line 404 of file objectRegistry.C.

References Foam::name().

Referenced by parseDriver::getField(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), and parseDriver::patchNormalField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ found()

bool found ( const word name,
const bool  recursive = false 
) const

Definition at line 425 of file objectRegistry.C.

References Foam::name().

Referenced by simplifiedFvMesh::fvPatchFieldExists(), turbulenceFields::initialise(), surfaceInterpolate::interpolateFields(), polySurface::queryFieldAssociation(), and polySurface::whichRegistry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ foundObject()

bool foundObject ( const word name,
const bool  recursive = false 
) const

◆ cfindObject()

const Type * cfindObject ( const word name,
const bool  recursive = false 
) const

◆ findObject() [1/2]

const Type * findObject ( const word name,
const bool  recursive = false 
) const

◆ findObject() [2/2]

Type * findObject ( const word name,
const bool  recursive = false 
)

Definition at line 405 of file objectRegistryTemplates.C.

References Foam::name().

Here is the call graph for this function:

◆ getObjectPtr()

Type * getObjectPtr ( const word name,
const bool  recursive = false 
) const

◆ lookupObject()

const Type & lookupObject ( const word name,
const bool  recursive = false 
) const

Definition at line 427 of file objectRegistryTemplates.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::nl.

Referenced by solidAbsorption::a(), interRegionHeatTransferModel::addSup(), adjointSimple::adjointSimple(), DEShybrid< Type >::blendingFactor(), Foam::calc_pTotal(), Foam::calc_rhoU(), ObukhovLength::calcOL(), parcelSelection::calculateFilter(), tabulatedHeatTransfer::calculateHtc(), variableHeatTransfer::calculateHtc(), fieldAverageItem::calculateMeanField(), fieldAverageItem::calculatePrime2MeanField(), adjointSensitivity::computeGradDxDbMultiplier(), motionDirectionalDiffusivity::correct(), filmTurbulenceModel::devRhoReff(), solidAbsorption::e(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), adjointSolver::getPrimalSolver(), interRegionExplicitPorositySource::initialise(), phaseSystem::lookupBlendedSubModel(), cloud::lookupIOField(), mappedPatchBase::lookupMesh(), twoPhaseSystem::lookupSubModel(), phaseSystem::lookupSubModel(), basicThermo::lookupThermo(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), function1Base::mesh(), solidParticleCloud::move(), displacementMotionSolverMeshMover::move(), medialAxisMeshMover::move(), solidAbsorption::nBands(), surfaceFieldValue::obr(), liquidFilmBase::pg(), pointHistory::pointHistory(), hydrostaticPressure::pRef(), vtkUnstructuredReader::printFieldStats(), particleDistribution::processField(), heatTransferCoeffModel::q(), filmTurbulenceModel::rho(), ReynoldsAnalogy::rho(), VollerPrakash::S(), patchProbes::sample(), interRegionOption::setMapper(), interRegionHeatTransferModel::setNbrModel(), sixDoFRigidBodyMotionSolver::solve(), rigidBodyMeshMotionSolver::solve(), rigidBodyMeshMotion::solve(), liquidFilmBase::Up(), freeSurfaceVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), vibrationShellFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), sixDoFRigidBodyDisplacementPointPatchVectorField::updateCoeffs(), freeSurfacePressureFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), cloudInfo::write(), momentumError::write(), and cellCellStencil::zoneID().

Here is the call graph for this function:

◆ lookupObjectRef()

Type & lookupObjectRef ( const word name,
const bool  recursive = false 
) const

◆ getEvent()

Foam::label getEvent ( ) const

Definition at line 193 of file objectRegistry.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::labelMax, Foam::nl, and WarningInFunction.

Here is the call graph for this function:

◆ checkIn() [1/2]

bool checkIn ( regIOobject io) const

Definition at line 219 of file objectRegistry.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), HashTable::insert(), Foam::name(), IOobject::name(), Foam::Pout, and WarningInFunction.

Here is the call graph for this function:

◆ checkIn() [2/2]

bool checkIn ( regIOobject io) const

Definition at line 293 of file objectRegistry.C.

◆ checkOut() [1/3]

bool checkOut ( regIOobject io) const

◆ checkOut() [2/3]

bool checkOut ( regIOobject io) const

Definition at line 299 of file objectRegistry.C.

◆ checkOut() [3/3]

bool checkOut ( const word key) const

Definition at line 305 of file objectRegistry.C.

References objectRegistry::erase(), and Foam::glTF::key().

Here is the call graph for this function:

◆ clear()

void clear ( )

◆ clearStorage()

void clearStorage ( )

Definition at line 337 of file objectRegistry.C.

References objectRegistry::clear(), and HashTable::clearStorage().

Here is the call graph for this function:

◆ erase() [1/4]

bool erase ( const iterator &  iter)

Definition at line 344 of file objectRegistry.C.

References HashTable::erase(), regIOobject::ownedByRegistry(), and regIOobject::release().

Referenced by objectRegistry::checkOut(), and Foam::eraseImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ erase() [2/4]

bool erase ( const word key)

Definition at line 367 of file objectRegistry.C.

References erase(), Foam::ListOps::find(), and Foam::glTF::key().

Here is the call graph for this function:

◆ erase() [3/4]

Foam::label erase ( std::initializer_list< word keys)

Definition at line 373 of file objectRegistry.C.

References Foam::eraseImpl().

Here is the call graph for this function:

◆ erase() [4/4]

Foam::label erase ( const UList< word > &  keys)

Definition at line 379 of file objectRegistry.C.

References UList::begin(), UList::end(), and Foam::eraseImpl().

Here is the call graph for this function:

◆ rename()

void rename ( const word newName)
virtual

Reimplemented from regIOobject.

Definition at line 385 of file objectRegistry.C.

References regIOobject::rename(), and string::replace().

Here is the call graph for this function:

◆ modified()

bool modified ( ) const
virtual

Reimplemented from regIOobject.

Definition at line 434 of file objectRegistry.C.

References stdFoam::cbegin(), and stdFoam::cend().

Referenced by Time::readModifiedObjects().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readModifiedObjects()

void readModifiedObjects ( )

Definition at line 448 of file objectRegistry.C.

References stdFoam::begin(), Foam::expressions::patchExpr::debug, stdFoam::end(), Foam::endl(), Foam::name(), and Foam::Pout.

Referenced by Time::readModifiedObjects().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readIfModified()

bool readIfModified ( )
virtual

Reimplemented from regIOobject.

Definition at line 464 of file objectRegistry.C.

◆ writeData()

virtual bool writeData ( Ostream ) const
inlinevirtual

Implements regIOobject.

Reimplemented in triSurfaceMesh.

Definition at line 515 of file objectRegistry.H.

References NotImplemented.

◆ writeObject()

bool writeObject ( IOstreamOption  streamOpt,
const bool  valid 
) const
virtual

Reimplemented from regIOobject.

Reimplemented in distributedTriSurfaceMesh, fvMesh, Time, polySurface, dynamicOversetFvMesh, triSurfaceMesh, surfMesh, and dynamicRefineFvMesh.

Definition at line 472 of file objectRegistry.C.

References stdFoam::cbegin(), stdFoam::cend(), Foam::expressions::patchExpr::debug, Foam::endl(), Foam::name(), and Foam::Pout.

Referenced by Time::writeObject(), and fvMesh::writeObject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookupObjectPtr()

const Type* lookupObjectPtr ( const word name,
bool  recursive = false 
) const
inline

Definition at line 536 of file objectRegistry.H.

References IOobject::name().

Here is the call graph for this function:

◆ lookupObjectRefPtr()

Type* lookupObjectRefPtr ( const word name,
bool  recursive = false 
) const
inline

Definition at line 549 of file objectRegistry.H.

References IOobject::name().

Here is the call graph for this function:

◆ classesImpl()

Foam::HashTable<Foam::wordHashSet> classesImpl ( const objectRegistry list,
const MatchPredicate &  matchName 
)

Definition at line 31 of file objectRegistryTemplates.C.

References forAllConstIters(), HashTable::insert(), IOobject::name(), and HashTable::size().

Here is the call graph for this function:

◆ countImpl()

Foam::label countImpl ( const objectRegistry list,
const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
)

Definition at line 57 of file objectRegistryTemplates.C.

References Foam::BitOps::count(), forAllConstIters(), and IOobject::name().

Here is the call graph for this function:

◆ countTypeImpl()

Foam::label countTypeImpl ( const objectRegistry list,
const MatchPredicate &  matchName 
)

Definition at line 82 of file objectRegistryTemplates.C.

References Foam::BitOps::count(), forAllConstIters(), and IOobject::name().

Here is the call graph for this function:

◆ namesImpl()

Foam::wordList namesImpl ( const objectRegistry list,
const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName,
const bool  doSort 
)

Definition at line 110 of file objectRegistryTemplates.C.

References Foam::BitOps::count(), forAllConstIters(), IOobject::name(), List::resize(), HashTable::size(), and Foam::sort().

Here is the call graph for this function:

◆ namesTypeImpl()

Foam::wordList namesTypeImpl ( const objectRegistry list,
const MatchPredicate &  matchName,
const bool  doSort 
)

Definition at line 145 of file objectRegistryTemplates.C.

References Foam::BitOps::count(), forAllConstIters(), IOobject::name(), List::resize(), HashTable::size(), and Foam::sort().

Here is the call graph for this function:

◆ classes() [3/3]

Foam::HashTable<Foam::wordHashSet> classes ( const MatchPredicate &  matchName) const

Definition at line 185 of file objectRegistryTemplates.C.

◆ count() [6/9]

Foam::label count ( const MatchPredicate &  matchClass) const

Definition at line 195 of file objectRegistryTemplates.C.

◆ count() [7/9]

Foam::label count ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

Definition at line 205 of file objectRegistryTemplates.C.

◆ count() [8/9]

Foam::label count ( const MatchPredicate &  matchName) const

Definition at line 216 of file objectRegistryTemplates.C.

◆ count() [9/9]

Foam::label count ( const bool  strict) const

Definition at line 226 of file objectRegistryTemplates.C.

References forAllConstIters().

Here is the call graph for this function:

◆ names() [7/10]

Foam::wordList names ( const MatchPredicate &  matchClass) const

Definition at line 252 of file objectRegistryTemplates.C.

◆ names() [8/10]

Foam::wordList names ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

Definition at line 262 of file objectRegistryTemplates.C.

◆ names() [9/10]

Foam::wordList names ( ) const

Definition at line 272 of file objectRegistryTemplates.C.

◆ names() [10/10]

Foam::wordList names ( const MatchPredicate &  matchName) const

Definition at line 280 of file objectRegistryTemplates.C.

◆ sortedNames() [7/10]

Foam::wordList sortedNames ( const MatchPredicate &  matchClass) const

Definition at line 290 of file objectRegistryTemplates.C.

◆ sortedNames() [8/10]

Foam::wordList sortedNames ( const MatchPredicate1 &  matchClass,
const MatchPredicate2 &  matchName 
) const

Definition at line 300 of file objectRegistryTemplates.C.

◆ sortedNames() [9/10]

Foam::wordList sortedNames ( ) const

Definition at line 310 of file objectRegistryTemplates.C.

◆ sortedNames() [10/10]

Foam::wordList sortedNames ( const MatchPredicate &  matchName) const

Definition at line 318 of file objectRegistryTemplates.C.

◆ lookupClass() [3/4]

Foam::HashTable<const Type*> lookupClass ( const bool  strict) const

Definition at line 328 of file objectRegistryTemplates.C.

References forAllConstIters(), HashTable::insert(), and IOobject::name().

Here is the call graph for this function:

◆ lookupClass() [4/4]

Foam::HashTable<Type*> lookupClass ( const bool  strict)

Definition at line 350 of file objectRegistryTemplates.C.

References forAllIters, HashTable::insert(), and IOobject::name().

Here is the call graph for this function:

The documentation for this class was generated from the following files: