template<class SignatureType>
class openfluid::machine::WareContainer< SignatureType >
- Template Parameters
-
SignatureType | the type of the signature to hold in the container |
#include <machine/WareContainer.hpp>
◆ WareContainer() [1/4]
template<class SignatureType >
◆ WareContainer() [2/4]
template<class SignatureType >
◆ WareContainer() [3/4]
template<class SignatureType >
◆ ~WareContainer()
template<class SignatureType >
◆ WareContainer() [4/4]
template<class SignatureType >
◆ getLinkUID()
template<class SignatureType >
Returns the link UID for parameterization UI
- Returns
- the link UID
◆ getMessage()
template<class SignatureType >
Returns the optional message aosciated to the container
- Returns
- the message
◆ getPath()
template<class SignatureType >
Returns the path of the ware
- Returns
- The ware path
◆ getWareType()
template<class SignatureType >
Returns the ware type
- Returns
- The ware type
◆ hasSignature()
template<class SignatureType >
Indicates if a signature is held by the container
- Returns
- true if a signature is held
◆ isGhost()
template<class SignatureType >
Returns true if the ware is a ghost
- Returns
- true if the ware is a ghost
◆ isValid()
template<class SignatureType >
Gives the validation status
- Returns
- true if the conrtainer is valid
◆ operator=() [1/2]
template<class SignatureType >
◆ operator=() [2/2]
template<class SignatureType >
◆ setGhost()
template<class SignatureType >
Marks the ware as ghost
- Note
- a container marked as ghost cannot be "unghosted"
◆ setLinkUID()
template<class SignatureType >
Sets the link UID for parameterization UI
- Parameters
-
- Exceptions
-
◆ setMessage()
template<class SignatureType >
Sets the optional message aosciated to the container
- Parameters
-
◆ setPath()
template<class SignatureType >
Sets the path of the ware on disk
- Parameters
-
- Exceptions
-
◆ setSignature()
template<class SignatureType >
Sets the signature
- Exceptions
-
- Note
- after using this method, the signature is owned by the container
◆ signature()
template<class SignatureType >
Returns a const reference to the signature as a unique pointer
- Returns
- the signature held in the container
◆ validate()
template<class SignatureType >
Sets the container as valid
- Note
- a container cannot be invalidated
The documentation for this class was generated from the following file: