24 using CSTR =
const std::string&;
33 using extends::extends;
40 error() <<
"Cannot initialize base class!" <<
endmsg;
57#define CHECK( x, y ) \
58 if ( !x.isSuccess() ) _check( x, y ); \
64 CHECK( sc,
"Cannot create partition: " + nam +
" of type " + typ );
69 CHECK( sc,
"Cannot create partition: " + nam +
" of type " + typ );
74 CHECK( sc,
"Cannot drop partition: " + nam );
79 CHECK( sc,
"Cannot drop partition by Interface." );
84 CHECK( sc,
"Cannot activate partition: " + nam );
89 CHECK( sc,
"Cannot activate partition by Interface." );
94 CHECK( sc,
"Cannot get partition " + nam );
99 CHECK( sc,
"Cannot determine active partition." );
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & msg() const
shortcut for the method msgStream(MSG::INFO)
Implementation of property with value of concrete type.
Definition of the basic interface.
@ NO_INTERFACE
Requested interface is not available.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto FAILURE
code_t getCode() const
Retrieve value.
Base class used to extend a class implementing other interfaces.