37 #ifndef sharedRegIOobject_H
38 #define sharedRegIOobject_H
68 template<
class ... Args>
82 inline bool valid()
const;
85 template<
class ... Args>
89 inline Type&
ref()
const;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Container for a pointer to a shared object, who's memory is managed by an object registry....
void set(const IOobject &io, const Args &... args)
Set the object.
sharedRegIOobject()
Default construct.
void operator=(const sharedRegIOobject< Type > &)=delete
Disallow default bitwise assignment.
~sharedRegIOobject()
Destructor.
bool valid() const
Is this object set?
const Type & operator()() const
Return a reference to the object.
void clear()
Clear the object.
Type & ref() const
Return a reference to the object.
Foam::argList args(argc, argv)