Provides a centralized coordinateSystem collection. More...
#include <meshTools/coordinateSystems.H>
Provides a centralized coordinateSystem collection.
Definition at line 53 of file coordinateSystems.H.
Inheritance diagram for coordinateSystems:
Collaboration diagram for coordinateSystems:Public Member Functions | |
| TypeName ("coordinateSystems") | |
| Runtime type information. | |
| coordinateSystems (const IOobject &) | |
| Read construct from IOobject. | |
| coordinateSystems (const IOobject &, const PtrList< coordinateSystem > &) | |
| Construct from IOobject and a PtrList. | |
| coordinateSystems (const IOobject &, const Xfer< PtrList< coordinateSystem > > &) | |
| Construct from IOobject and transferring the PtrList contents. | |
| label | find (const word &key) const |
| Find and return index for a given keyword, returns -1 if not found. | |
| bool | found (const word &keyword) const |
| Search for given keyword. | |
| wordList | toc () const |
| Return the table of contents (list of all keywords) | |
| bool | writeData (Ostream &, bool subDict=true) const |
| write data | |
Public Member Functions inherited from IOPtrList< coordinateSystem > | |
| TypeName ("PtrList") | |
| Runtime type information. | |
| IOPtrList (const IOobject &, const INew &) | |
| Construct from IOobject using given Istream constructor class. | |
| IOPtrList (const IOobject &) | |
| Construct from IOobject. | |
| IOPtrList (const IOobject &, const label) | |
| Construct from IOobject with given size. | |
| IOPtrList (const IOobject &, const PtrList< coordinateSystem > &) | |
| Construct from IOobject and a PtrList. | |
| IOPtrList (const IOobject &, const Xfer< PtrList< coordinateSystem > > &) | |
| Construct by transferring the PtrList contents. | |
| virtual | ~IOPtrList () |
| bool | writeData (Ostream &) const |
| Pure virtual writaData function. | |
| void | operator= (const IOPtrList< coordinateSystem > &) |
Public Member Functions inherited from regIOobject | |
| 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 | 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 &) |
Public Member Functions inherited from IOobject | |
| TypeName ("IOobject") | |
| Runtime type information. | |
| IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, registry, io options. | |
| IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, local, registry, io options. | |
| IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from path, registry, io options. | |
| Foam::autoPtr< IOobject > | clone () const |
| Clone. | |
| virtual | ~IOobject () |
| const Time & | time () const |
| Return time. | |
| const objectRegistry & | db () const |
| Return the local objectRegistry. | |
| const word & | name () const |
| Return name. | |
| const word & | headerClassName () const |
| Return name of the class name read from header. | |
| string & | note () |
| Return non-constant access to the optional note. | |
| const string & | note () const |
| Return the optional note. | |
| bool | registerObject () const |
| Register object created from this IOobject with registry if true. | |
| readOption | readOpt () const |
| readOption & | readOpt () |
| writeOption | writeOpt () const |
| writeOption & | writeOpt () |
| const fileName & | rootPath () const |
| const fileName & | caseName () const |
| const fileName & | instance () const |
| fileName & | instance () |
| const fileName & | local () const |
| fileName | path () const |
| Return complete path. | |
| fileName | path (const word &instance, const fileName &local="") const |
| Return complete path with alternative instance and local. | |
| fileName | objectPath () const |
| Return complete path + object name. | |
| fileName | filePath () const |
| Return complete path + object name if the file exists. | |
| bool | readHeader (Istream &) |
| Read header. | |
| bool | headerOk () |
| Read and check header info. | |
| bool | writeHeader (Ostream &) const |
| Write header. | |
| bool | good () const |
| bool | bad () const |
| InfoProxy< IOobject > | info () const |
| Return info proxy. | |
Public Member Functions inherited from PtrList< coordinateSystem > | |
| PtrList () | |
| Null Constructor. | |
| PtrList (const label) | |
| Construct with length specified. | |
| PtrList (const PtrList< coordinateSystem > &) | |
| Copy constructor. | |
| PtrList (const PtrList< coordinateSystem > &, const CloneArg &) | |
| Copy constructor with additional argument for clone. | |
| PtrList (const Xfer< PtrList< coordinateSystem > > &) | |
| Construct by transferring the parameter contents. | |
| PtrList (PtrList< coordinateSystem > &, bool reUse) | |
| Construct as copy or re-use as specified. | |
| PtrList (const SLPtrList< coordinateSystem > &) | |
| Construct as copy of SLPtrList<T> | |
| PtrList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. | |
| PtrList (Istream &) | |
| Construct from Istream using default Istream constructor class. | |
| ~PtrList () | |
| label | size () const |
| Return the number of elements in the PtrList. | |
| bool | empty () const |
| Return true if the PtrList is empty (ie, size() is zero). | |
| void | setSize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | resize (const label) |
| Reset size of PtrList. This can only be used to set the size. | |
| void | clear () |
| Clear the PtrList, i.e. set size to zero deleting all the. | |
| void | transfer (PtrList< coordinateSystem > &) |
| Transfer the contents of the argument PtrList into this PtrList. | |
| Xfer< PtrList< coordinateSystem > > | xfer () |
| Transfer contents to the Xfer container. | |
| bool | set (const label) const |
| Is element set. | |
| autoPtr< coordinateSystem > | set (const label, coordinateSystem *) |
| Set element. Return old element (can be NULL). | |
| autoPtr< coordinateSystem > | set (const label, const autoPtr< coordinateSystem > &) |
| autoPtr< coordinateSystem > | set (const label, const tmp< coordinateSystem > &) |
| void | reorder (const UList< label > &) |
| Reorders elements. Ordering does not have to be done in. | |
| const coordinateSystem & | operator[] (const label) const |
| Return element const reference. | |
| coordinateSystem & | operator[] (const label) |
| Return element reference. | |
| const coordinateSystem * | operator() (const label) const |
| Return element const pointer. | |
| PtrList< coordinateSystem > & | operator= (const PtrList< coordinateSystem > &) |
| Assignment. | |
| iterator | begin () |
| Return an iterator to begin traversing the PtrList. | |
| iterator | end () |
| Return an iterator to end traversing the PtrList. | |
Static Public Member Functions | |
| static const coordinateSystems & | New (const objectRegistry &) |
| Return previously registered or read construct from "constant". | |
|
explicit |
Read construct from IOobject.
Definition at line 40 of file coordinateSystems.C.
| coordinateSystems | ( | const IOobject & | io, |
| const PtrList< coordinateSystem > & | lst | ||
| ) |
Construct from IOobject and a PtrList.
Definition at line 47 of file coordinateSystems.C.
| coordinateSystems | ( | const IOobject & | io, |
| const Xfer< PtrList< coordinateSystem > > & | lst | ||
| ) |
Construct from IOobject and transferring the PtrList contents.
Definition at line 57 of file coordinateSystems.C.
| TypeName | ( | "coordinateSystems" | ) |
Runtime type information.
|
static |
Return previously registered or read construct from "constant".
Definition at line 70 of file coordinateSystems.C.
References objectRegistry::foundObject(), objectRegistry::lookupObject(), IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, and regIOobject::store().
Referenced by coordinateSystem::coordinateSystem().
| Foam::label find | ( | const word & | key | ) | const |
Find and return index for a given keyword, returns -1 if not found.
Definition at line 100 of file coordinateSystems.C.
References forAll, and Foam::name().
Referenced by coordinateSystem::coordinateSystem().
| bool found | ( | const word & | keyword | ) | const |
Search for given keyword.
Definition at line 114 of file coordinateSystems.C.
| Foam::wordList toc | ( | ) | const |
Return the table of contents (list of all keywords)
Definition at line 120 of file coordinateSystems.C.
References forAll.
Referenced by coordinateSystem::coordinateSystem().
| bool writeData | ( | Ostream & | os, |
| bool | subDict = true |
||
| ) | const |
write data
Definition at line 133 of file coordinateSystems.C.
References token::BEGIN_LIST, token::END_LIST, forAll, IOstream::good(), and Foam::nl.