www.cemf.ir
readFromTimeFolder Class Reference
+ Collaboration diagram for readFromTimeFolder:

Public Member Functions

 readFromTimeFolder (repository &rep)
 
auto path () const
 
auto & db ()
 
std::pair< bool, IOfileHeaderfieldExists (word fieldName) const
 
bool pointFieldFileGetType (word fieldName, word &typeName) const
 
template<typename T >
bool pointFieldGetType (word &typeName) const
 
template<typename T >
bool pointFieldGetCheckType (word const &fieldName, word &typeName) const
 
template<typename T >
uniquePtr< pointField_H< T > > createUniformPointField_H (word const &name, T value, bool regRep=true)
 
template<typename T >
uniquePtr< pointField_H< T > > readPointField_H (word const &name)
 
template<typename T >
uniquePtr< pointField_D< T > > readPointField_D (word const &name)
 

Protected Member Functions

bool checkForPointStructure () const
 

Protected Attributes

repositoryrepository_
 

Detailed Description

Definition at line 31 of file readFromTimeFolder.hpp.

Constructor & Destructor Documentation

◆ readFromTimeFolder()

readFromTimeFolder ( repository rep)
explicit

Definition at line 23 of file readFromTimeFolder.cpp.

Member Function Documentation

◆ checkForPointStructure()

bool checkForPointStructure ( ) const
inlineprotected

Definition at line 37 of file readFromTimeFolder.hpp.

References repository::lookupObjectName(), pFlow::pointStructureFile__, and readFromTimeFolder::repository_.

Referenced by readFromTimeFolder::createUniformPointField_H(), readFromTimeFolder::readPointField_D(), and readFromTimeFolder::readPointField_H().

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

◆ path()

auto path ( ) const
inline

Definition at line 47 of file readFromTimeFolder.hpp.

References repository::path(), and readFromTimeFolder::repository_.

+ Here is the call graph for this function:

◆ db()

auto& db ( )
inline

Definition at line 52 of file readFromTimeFolder.hpp.

References readFromTimeFolder::repository_.

Referenced by countField::timeFolderRepository(), and processField::timeFolderRepository().

+ Here is the caller graph for this function:

◆ fieldExists()

std::pair< bool, pFlow::IOfileHeader > fieldExists ( word  fieldName) const

Definition at line 30 of file readFromTimeFolder.cpp.

References IOfileHeader::headerOk(), objectFile::READ_ALWAYS, and objectFile::WRITE_NEVER.

+ Here is the call graph for this function:

◆ pointFieldFileGetType()

bool pointFieldFileGetType ( word  fieldName,
word typeName 
) const

Definition at line 43 of file readFromTimeFolder.cpp.

References pFlow::endl(), fatalErrorInFunction, fatalExit, and pFlow::utilities::pointFieldGetType().

Referenced by readFromTimeFolder::pointFieldGetCheckType().

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

◆ pointFieldGetType()

bool pointFieldGetType ( word typeName) const
inline

Definition at line 65 of file readFromTimeFolder.hpp.

References pFlow::endl(), fatalErrorInFunction, and pFlow::utilities::pointFieldGetType().

+ Here is the call graph for this function:

◆ pointFieldGetCheckType()

bool pointFieldGetCheckType ( word const &  fieldName,
word typeName 
) const
inline

Definition at line 84 of file readFromTimeFolder.hpp.

References fatalExit, and readFromTimeFolder::pointFieldFileGetType().

+ Here is the call graph for this function:

◆ createUniformPointField_H()

uniquePtr<pointField_H<T> > createUniformPointField_H ( word const &  name,
value,
bool  regRep = true 
)
inline

◆ readPointField_H()

◆ readPointField_D()

Member Data Documentation

◆ repository_


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