BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::container::Value Class Reference

List of all members.

Public Member Functions

def __init__
def has_value
def can_have_value
def has_current_value
def get_value
def set_value
def clear_value

Public Attributes

 key
 createfunc
 expire_argument
 starttime
 storedtime
 namespace

Private Member Functions

def _is_expired
def _get_value

Static Private Attributes

string __slots__ = 'key'

Constructor & Destructor Documentation

def b3::lib::beaker::container::Value::__init__ (   self,
  key,
  namespace,
  createfunc = None,
  expiretime = None,
  starttime = None 
)

Member Function Documentation

def b3::lib::beaker::container::Value::_get_value (   self) [private]
def b3::lib::beaker::container::Value::_is_expired (   self,
  storedtime,
  expiretime 
) [private]
Return true if this container's value is expired.
def b3::lib::beaker::container::Value::can_have_value (   self)
def b3::lib::beaker::container::Value::clear_value (   self)
def b3::lib::beaker::container::Value::get_value (   self)
def b3::lib::beaker::container::Value::has_current_value (   self)
def b3::lib::beaker::container::Value::has_value (   self)
return true if the container has a value stored.

This is regardless of it being expired or not.

def b3::lib::beaker::container::Value::set_value (   self,
  value,
  storedtime = None 
)

Member Data Documentation

string b3::lib::beaker::container::Value::__slots__ = 'key' [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties