Loading...
Searching...
No Matches
SBCContainerUserPlan Class Reference

This class describes a user plan. More...

User plan types

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

Constructors and destructors

 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.
 
virtual ~SBCContainerUserPlan ()
 Destructs the user plan.
 

Accessors

Type getType () const noexcept
 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

enum class SBCContainerUserPlan::Type
strong
Enumerator
None 

No plan.

NoPlan 

No plan.

Starter 

The Starter plan.

Standard 

The Standard plan.

Professional 

The Professional plan.

Enterprise 

The Enterprise plan.