Go to the documentation of this file.
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." );
@ NO_INTERFACE
Requested interface is not available.
const ValueType & value() const
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Base class used to extend a class implementing other interfaces.
TYPE * get() const
Get interface pointer.
#define DECLARE_COMPONENT(type)
code_t getCode() const
Retrieve value.
constexpr static const auto FAILURE