regIOobject Class ReferenceregIOobject is an abstract class derived from IOobject to handle automatic object registration with the objectRegistry.
More...
Inherits Foam::IOobject.
Inherited by DimensionedField< scalar, pointMesh >, DimensionedField< scalar, surfaceMesh >, DimensionedField< scalar, volMesh >, DimensionedField< symmTensor, volMesh >, DimensionedField< tensor, volMesh >, DimensionedField< Type, GeoMesh >, DimensionedField< Type, pointMesh >, DimensionedField< Type, surfaceMesh >, DimensionedField< Type, volMesh >, DimensionedField< vector, pointMesh >, DimensionedField< vector, volMesh >, AverageIOField< Type >, DimensionedField< Type, GeoMesh >, featureEdgeMesh, fieldDictionary, IOdictionary, IOField< Type >, IOList< T >, IOMap< T >, IOPosition< ParticleType >, IOPtrList< T >, MeshObject< Mesh, Type >, objectRegistry, PDRDragModel, polyBoundaryMesh, polyBoundaryMeshEntries, polyTopoChanger, refinementHistory, searchableSurface, SubDimensionedField< Type, GeoMesh >, surfacePatchIOList, surfZoneIOList, topoSet, UniformDimensionedField< Type >, ZoneMesh< ZoneType, MeshType >, IOField< vector >, IOList< face >, IOList< label >, IOPtrList< coordinateSystem >, IOPtrList< injector >, IOPtrList< MRFZone >, IOPtrList< porousZone >, MeshObject< fvMesh, centredCECCellToFaceStencilObject >, MeshObject< fvMesh, centredCFCCellToFaceStencilObject >, MeshObject< fvMesh, centredCFCFaceToCellStencilObject >, MeshObject< fvMesh, centredCPCCellToFaceStencilObject >, MeshObject< fvMesh, centredFECCellToFaceStencilObject >, MeshObject< fvMesh, CentredFitData< Polynomial > >, MeshObject< fvMesh, extendedLeastSquaresVectors >, MeshObject< fvMesh, FitDataType >, MeshObject< fvMesh, leastSquaresVectors >, MeshObject< fvMesh, pureUpwindCFCCellToFaceStencilObject >, MeshObject< fvMesh, quadraticFitSnGradData >, MeshObject< fvMesh, skewCorrectionVectors >, MeshObject< fvMesh, upwindCECCellToFaceStencilObject >, MeshObject< fvMesh, upwindCFCCellToFaceStencilObject >, MeshObject< fvMesh, upwindCPCCellToFaceStencilObject >, MeshObject< fvMesh, upwindFECCellToFaceStencilObject >, MeshObject< fvMesh, UpwindFitData< Polynomial > >, MeshObject< fvMesh, volPointInterpolation >, MeshObject< lduMesh, GAMGAgglomeration >, MeshObject< polyMesh, pointMesh >, ZoneMesh< cellZone, polyMesh >, ZoneMesh< faceZone, polyMesh >, and ZoneMesh< pointZone, polyMesh >.
List of all members.
|
Public Member Functions |
| | TypeName ("regIOobject") |
| | Runtime type information.
|
| | regIOobject (const IOobject &, const bool isTime=false) |
| | Construct from IOobject. Optional flag for if IOobject is the.
|
| | regIOobject (const regIOobject &) |
| | Construct as copy.
|
| | regIOobject (const regIOobject &, bool registerCopy) |
| | Construct as copy, and transferring registry registration to copy.
|
| virtual | ~regIOobject () |
| bool | checkIn () |
| | Add object to registry.
|
| bool | checkOut () |
| | Remove object from registry.
|
| bool | ownedByRegistry () const |
| | Is this object owned by the registry?
|
| void | store () |
| | Transfer ownership of this object to its registry.
|
| void | release () |
| | Release ownership of this object from its registry.
|
| label | eventNo () const |
| | Event number at last update.
|
| label & | eventNo () |
| | Event number at last update.
|
| bool | upToDate (const word &) const |
| | Am I uptodate with respect to other regIOobjects.
|
| bool | upToDate (const word &, const word &) const |
| bool | upToDate (const word &, const word &, const word &) const |
| bool | upToDate (const word &, const word &, const word &, const word &) const |
| void | setUpToDate () |
| | Flag me as up to date.
|
| virtual void | rename (const word &newName) |
| | Rename.
|
| Istream & | readStream (const word &) |
| | Return Istream and check object type against that given.
|
| void | close () |
| | Close Istream.
|
| virtual bool | readData (Istream &) |
| | Virtual readData function.
|
| virtual bool | read () |
| | Read object.
|
| virtual bool | modified () const |
| | Return true if the object's file has been modified.
|
| virtual bool | readIfModified () |
| | Read object if modified.
|
| virtual bool | writeData (Ostream &) const =0 |
| | Pure virtual writaData function.
|
| virtual bool | writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const |
| | Write using given format, version and compression.
|
| virtual bool | write () const |
| | Write using setting from DB.
|
| void | operator= (const IOobject &) |
Static Public Member Functions |
| template<class Type > |
| static Type & | store (Type *) |
| | Transfer ownership of the given object pointer to its registry.
|
| template<class Type > |
| static Type & | store (autoPtr< Type > &) |
| | Transfer ownership of the given object pointer to its registry.
|
Static Public Attributes |
| static int | fileModificationSkew |
Detailed Description
regIOobject is an abstract class derived from IOobject to handle automatic object registration with the objectRegistry.
- Source files
-
Definition at line 50 of file regIOobject.H.
Constructor & Destructor Documentation
Construct as copy, and transferring registry registration to copy.
if registerCopy is true
Definition at line 73 of file regIOobject.C.
Member Function Documentation
| TypeName |
( |
"regIOobject" |
|
) |
|
Runtime type information.
| bool ownedByRegistry |
( |
|
) |
const [inline] |
Is this object owned by the registry?
Definition at line 20 of file regIOobjectI.H.
| Type & store |
( |
Type * |
tPtr |
) |
[inline, static] |
Transfer ownership of the given object pointer to its registry.
and return reference to object.
Definition at line 33 of file regIOobjectI.H.
Transfer ownership of the given object pointer to its registry.
and return reference to object.
Definition at line 49 of file regIOobjectI.H.
| void release |
( |
|
) |
[inline] |
Release ownership of this object from its registry.
Definition at line 68 of file regIOobjectI.H.
| bool upToDate |
( |
const word & |
a |
) |
const |
| bool upToDate |
( |
const word & |
a, |
|
|
const word & |
b | |
|
) |
| | const |
| bool upToDate |
( |
const word & |
a, |
|
|
const word & |
b, |
|
|
const word & |
c | |
|
) |
| | const |
| bool upToDate |
( |
const word & |
a, |
|
|
const word & |
b, |
|
|
const word & |
c, |
|
|
const word & |
d | |
|
) |
| | const |
| void rename |
( |
const word & |
newName |
) |
[virtual] |
Rename.
Reimplemented from IOobject.
Reimplemented in objectRegistry.
Definition at line 253 of file regIOobject.C.
References IOobject::db(), and objectRegistry::getEvent().
Referenced by reuseTmpTmpGeometricField< TypeR, Type1, Type12, TypeR, PatchField, GeoMesh >::New(), and reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, Type2, PatchField, GeoMesh >::New().
Return Istream and check object type against that given.
Definition at line 76 of file regIOobjectRead.C.
References IOobject::filePath(), and Foam::lastModified().
Referenced by featureEdgeMesh::featureEdgeMesh(), IOdictionary::IOdictionary(), IOField< Type >::IOField(), IOList< T >::IOList(), IOMap< T >::IOMap(), IOPtrList< T >::IOPtrList(), polyBoundaryMeshEntries::polyBoundaryMeshEntries(), surfacePatchIOList::surfacePatchIOList(), surfZoneIOList::surfZoneIOList(), topoSet::topoSet(), IOField< Type >::~IOField(), IOList< T >::~IOList(), IOMap< T >::~IOMap(), IOPtrList< T >::~IOPtrList(), and UniformDimensionedField< Type >::~UniformDimensionedField().
| bool readData |
( |
Istream & |
|
) |
[virtual] |
Read object.
Reimplemented in engineTime, timeActivatedExplicitCellSource, timeActivatedExplicitMulticomponentPointSource, timeActivatedExplicitSource, rpm, SRFModel, fvSchemes, IOOutputFilter< OutputFilter >, Time, solution, tolerances, basicThermo, ePsiThermo< MixtureType >, hPsiThermo< MixtureType >, hRhoThermo< MixtureType >, fvDOM, noRadiation, P1, radiationModel, hhuMixtureThermo< MixtureType >, hPsiMixtureThermo< MixtureType >, hRhoMixtureThermo< MixtureType >, twoPhaseMixture, singlePhaseTransportModel, transportModel, DeardorffDiffStress, dynOneEqEddy, GenEddyVisc, GenSGSStress, LESModel, lowReOneEqEddy, oneEqEddy, Smagorinsky, SpalartAllmaras, kEpsilon, kOmegaSST, laminar, LaunderGibsonRSTM, LaunderSharmaKE, LRR, RASModel, realizableKE, RNGkEpsilon, SpalartAllmaras, DeardorffDiffStress, dynMixedSmagorinsky, dynOneEqEddy, dynSmagorinsky, GenEddyVisc, GenSGSStress, kOmegaSSTSAS, laminar, LESModel, locDynOneEqEddy, LRRDiffStress, mixedSmagorinsky, oneEqEddy, scaleSimilarity, Smagorinsky, Smagorinsky2, SpalartAllmaras, SpalartAllmarasIDDES, spectEddyVisc, kEpsilon, kOmega, kOmegaSST, LamBremhorstKE, laminar, LaunderGibsonRSTM, LaunderSharmaKE, LienCubicKE, LienCubicKELowRe, LienLeschzinerLowRe, LRR, NonlinearKEShih, qZeta, RASModel, realizableKE, RNGkEpsilon, SpalartAllmaras, PDRkEpsilon, phaseChangeTwoPhaseMixture, and multiphaseMixture.
Definition at line 136 of file regIOobjectRead.C.
Referenced by IOPtrList< T >::IOPtrList().
| bool modified |
( |
|
) |
const [virtual] |
| bool readIfModified |
( |
|
) |
[virtual] |
| virtual bool writeData |
( |
Ostream & |
|
) |
const [pure virtual] |
Pure virtual writaData function.
Must be defined in derived types
Implemented in refinementHistory, polyTopoChanger, featureEdgeMesh, AverageIOField< Type >, IOPosition< ParticleType >, searchableBox, searchableCylinder, searchablePlane, searchablePlate, searchableSphere, searchableSurfaceCollection, searchableSurfaceWithGaps, triSurfaceMesh, topoSet, IOdictionary, IOField< Type >, IOList< T >, IOMap< T >, IOPtrList< T >, objectRegistry, DimensionedField< Type, GeoMesh >, GeometricField< Type, PatchField, GeoMesh >, UniformDimensionedField< Type >, MeshObject< Mesh, Type >, polyBoundaryMesh, polyBoundaryMeshEntries, ZoneMesh< ZoneType, MeshType >, surfZoneIOList, surfacePatchIOList, fieldDictionary, PDRDragModel, IOField< vector >, IOList< label >, IOList< face >, IOPtrList< MRFZone >, IOPtrList< injector >, IOPtrList< coordinateSystem >, IOPtrList< porousZone >, DimensionedField< scalar, volMesh >, DimensionedField< scalar, pointMesh >, DimensionedField< symmTensor, volMesh >, DimensionedField< vector, pointMesh >, DimensionedField< Type, GeoMesh >, DimensionedField< Type, volMesh >, DimensionedField< scalar, surfaceMesh >, DimensionedField< vector, volMesh >, DimensionedField< Type, pointMesh >, DimensionedField< Type, surfaceMesh >, DimensionedField< tensor, volMesh >, GeometricField< symmTensor, fvPatchField, volMesh >, GeometricField< tensor, fvPatchField, volMesh >, GeometricField< scalar, fvPatchField, volMesh >, GeometricField< scalar, fvsPatchField, surfaceMesh >, GeometricField< Type, fvsPatchField, surfaceMesh >, GeometricField< Type, PatchField, GeoMesh >, GeometricField< scalar, pointPatchField, pointMesh >, GeometricField< vector, fvPatchField, volMesh >, GeometricField< Type, pointPatchField, pointMesh >, GeometricField< vector, pointPatchField, pointMesh >, GeometricField< Type, fvPatchField, volMesh >, MeshObject< fvMesh, centredCFCFaceToCellStencilObject >, MeshObject< fvMesh, volPointInterpolation >, MeshObject< fvMesh, leastSquaresVectors >, MeshObject< fvMesh, upwindCFCCellToFaceStencilObject >, MeshObject< fvMesh, skewCorrectionVectors >, MeshObject< fvMesh, quadraticFitSnGradData >, MeshObject< fvMesh, pureUpwindCFCCellToFaceStencilObject >, MeshObject< fvMesh, FitDataType >, MeshObject< fvMesh, centredFECCellToFaceStencilObject >, MeshObject< polyMesh, pointMesh >, MeshObject< fvMesh, extendedLeastSquaresVectors >, MeshObject< lduMesh, GAMGAgglomeration >, MeshObject< fvMesh, UpwindFitData< Polynomial > >, MeshObject< fvMesh, CentredFitData< Polynomial > >, MeshObject< fvMesh, centredCFCCellToFaceStencilObject >, MeshObject< fvMesh, upwindCPCCellToFaceStencilObject >, MeshObject< fvMesh, upwindCECCellToFaceStencilObject >, MeshObject< fvMesh, centredCECCellToFaceStencilObject >, MeshObject< fvMesh, upwindFECCellToFaceStencilObject >, MeshObject< fvMesh, centredCPCCellToFaceStencilObject >, ZoneMesh< faceZone, polyMesh >, ZoneMesh< pointZone, polyMesh >, and ZoneMesh< cellZone, polyMesh >.
Referenced by searchableSurfaceWithGaps::writeData(), and regIOobject::writeObject().
Write using given format, version and compression.
Reimplemented in dynamicRefineFvMesh, Cloud< ParticleType >, distributedTriSurfaceMesh, triSurfaceMesh, objectRegistry, Time, polyBoundaryMesh, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< molecule >, Cloud< CoalParcel< ThermoType > >, Cloud< trackedParticle >, Cloud< basicKinematicParcel >, Cloud< ParcelType >, Cloud< parcel >, Cloud< solidParticle >, Cloud< dsmcParcel >, Cloud< indexedParticle >, Cloud< passiveParticle >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 30 of file regIOobjectWrite.C.
References Foam::endl(), IOstream::good(), IOobject::good(), Foam::Info, IOobject::instance(), Foam::mkDir(), IOobject::name(), IOobject::objectPath(), IOobject::path(), SeriousErrorIn, Foam::system(), IOobject::time(), timeName, Time::timeName(), regIOobject::writeData(), IOobject::writeEndDivider(), and IOobject::writeHeader().
Referenced by Foam::operator<<().
| bool write |
( |
|
) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd
|