Class SBCContainerUserPlan#
ClassList > SBCContainerUserPlan
This class describes a user plan. More...
#include <SBCContainerUserPlan.hpp>
Public Types#
Type | Name |
---|---|
enum | Type The type of the user plan. |
Public Functions#
Type | Name |
---|---|
SBCContainerUserPlan () noexcept Constructs the None user plan. |
|
SBCContainerUserPlan (Type type) noexcept Constructs a user plan. |
|
SBCContainerUserPlan (const std::string & typeString) Constructs a user plan. |
|
SBCContainerUserPlan (const SBCContainerUserPlan & userPlan) Constructs a user plan. |
|
Type | getType () noexcept const Returns the user plan type. |
bool | operator!= (const SBCContainerUserPlan & userPlan) const Non-equality operator. |
std::string | operator() () const Returns the user plan as a string. |
bool | operator< (const SBCContainerUserPlan & userPlan) const Comparison with another user plan. |
bool | operator<= (const SBCContainerUserPlan & userPlan) const Comparison with another user plan. |
SBCContainerUserPlan & | operator= (const SBCContainerUserPlan & userPlan) Assignment operator. |
bool | operator== (const SBCContainerUserPlan & userPlan) const Equality operator. |
bool | operator> (const SBCContainerUserPlan & userPlan) const Comparison with another user plan. |
bool | operator>= (const SBCContainerUserPlan & userPlan) const Comparison with another user plan. |
virtual | ~SBCContainerUserPlan () Destructs the user plan. |
Detailed Description#
This class describes a user plan in SAMSON.
Short name: SBUserPlan
Public Types Documentation#
enum Type#
The type of the user plan.
enum SBCContainerUserPlan::Type {
None = 0,
NoPlan = 0,
Starter = 1,
Standard = 2,
Professional = 3,
Enterprise = 4
};
Public Functions Documentation#
function SBCContainerUserPlan [1/4]#
Constructs the None user plan.
function SBCContainerUserPlan [2/4]#
Constructs a user plan.
function SBCContainerUserPlan [3/4]#
Constructs a user plan.
function SBCContainerUserPlan [4/4]#
Constructs a user plan.
function getType#
Returns the user plan type.
function operator!=#
Non-equality operator.
function operator()#
Returns the user plan as a string.
function operator<#
Comparison with another user plan.
function operator<=#
Comparison with another user plan.
function operator=#
Assignment operator.
function operator==#
Equality operator.
function operator>#
Comparison with another user plan.
function operator>=#
Comparison with another user plan.
function ~SBCContainerUserPlan#
Destructs the user plan.