SBCContainerUserPlan Class Reference

This class describes a user plan. More...

User plan types

enum  Type {
  Type::None,
  Type::Starter,
  Type::Standard,
  Type::Professional,
  Type::Enterprise
}
 The type of the user plan. More...
 

Constructors and destructors

 SBCContainerUserPlan ()
 Constructs the None user plan.
 
 SBCContainerUserPlan (Type type)
 Constructs a user plan.
 
 SBCContainerUserPlan (const std::string &typeString)
 Constructs a user plan.
 
 SBCContainerUserPlan (const SBCContainerUserPlan &userPlan)
 Constructs a user plan.
 
virtual ~SBCContainerUserPlan ()
 Destructs the user plan.
 

Accessors

Type getType () const
 Returns the user plan type.
 

Operators

SBCContainerUserPlanoperator= (const SBCContainerUserPlan &userPlan)
 Assignment operator.
 
bool operator== (const SBCContainerUserPlan &userPlan) const
 Equality operator.
 
bool operator!= (const SBCContainerUserPlan &userPlan) const
 Non-equality operator.
 
bool operator< (const SBCContainerUserPlan &userPlan) const
 Comparison with another user plan.
 
bool operator<= (const SBCContainerUserPlan &userPlan) const
 Comparison with another user plan.
 
bool operator> (const SBCContainerUserPlan &userPlan) const
 Comparison with another user plan.
 
bool operator>= (const SBCContainerUserPlan &userPlan) const
 Comparison with another user plan.
 
std::string operator() () const
 Returns the user plan as a string.
 

Detailed Description

This class describes a user plan in SAMSON.

Short name: SBUserPlan

Member Enumeration Documentation

◆ Type

Enumerator
None 

No plan.

Starter 

The Starter plan.

Standard 

The Standard plan.

Professional 

The Professional plan.

Enterprise 

The Enterprise plan.