Go to the documentation of this file.
22 #ifndef __repository_hpp__
23 #define __repository_hpp__
55 template <
typename Type1>
58 template <
typename Type>
197 virtual bool write(
bool verbose =
false)
const;
205 #endif //__repository_hpp__
repository * releaseOwner(bool fromOwner=false)
virtual fileSystem localPath() const
virtual bool isExcluded(const word &objName) const
static bool checkForObjectType(IOobject &object)
word reportTypeError(IOobject &object) const
T & lookupObject(const word &name)
return a ref to the underlaying data in the object
virtual bool outFileBinary() const
wordMap< repository * > repositories_
virtual bool isIncluded(const word &objName) const
const repository * owner() const
bool lookupObjectName(const word &nm) const
word lookupObjectTypeName(const word &nm) const
virtual size_t outFilePrecision() const
size_t numRepositories() const
virtual bool write(bool verbose=false) const
bool lookupRepositoryName(const word &nm) const
Manages file pathes, manupulate and combines them.
bool globalLookupObjectName(const word &nm, bool downward=false) const
wordList repositoryNames() const
const repository & thisRepository() const
wordMap< IOobject * > objects_
repository(const word &name, const fileSystem &localPath, repository *owner=nullptr)
bool addToRepository(repository *rep)
add repository to this repository return false if the name already exists
repository & operator=(const repository &)=delete
virtual fileSystem path() const
bool removeFromRepository(repository *rep)
remove rep from the list of repositories
bool lookupName(const word nm) const
repository & lookupRepository(const word &name)
size_t numObjects() const
wordList objectNames() const