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

b3::config::XmlConfigParser Class Reference

List of all members.

Public Member Functions

def readfp
def setXml
def get
def getTextTemplate
def getDuration
def getint
def getfloat
def getboolean
def sections
def options
def has_section
def has_option
def items
def getpath
def load
def loadFromString
def save
def set
def readfp
def setXml
def get
def getTextTemplate
def getDuration
def getint
def getfloat
def getboolean
def sections
def options
def has_section
def has_option
def items
def getpath
def load
def loadFromString
def save
def set

Public Attributes

 fileName
 fileMtime

Static Public Attributes

string fileName = ''
int fileMtime = 0

Private Member Functions

def _loadSettings
def _loadSettings

Static Private Attributes

 _xml = None
 _settings = None

Detailed Description

\
A config parser class that mimics the ConfigParser settings but reads
from an XML format

Member Function Documentation

def b3::config::XmlConfigParser::_loadSettings (   self) [private]
def b3::config::XmlConfigParser::_loadSettings (   self) [private]
def b3::config::XmlConfigParser::get (   self,
  section,
  setting = None,
  dummy = False 
)
def b3::config::XmlConfigParser::get (   self,
  section,
  setting = None,
  dummy = False 
)
def b3::config::XmlConfigParser::getboolean (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getboolean (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getDuration (   self,
  section,
  setting = None 
)
def b3::config::XmlConfigParser::getDuration (   self,
  section,
  setting = None 
)
def b3::config::XmlConfigParser::getfloat (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getfloat (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getint (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getint (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::getpath (   self,
  section,
  setting 
)
Return an absolute path name and expand the user prefix (~)
def b3::config::XmlConfigParser::getpath (   self,
  section,
  setting 
)
Return an absolute path name and expand the user prefix (~)
def b3::config::XmlConfigParser::getTextTemplate (   self,
  section,
  setting = None,
  kwargs 
)
def b3::config::XmlConfigParser::getTextTemplate (   self,
  section,
  setting = None,
  kwargs 
)
def b3::config::XmlConfigParser::has_option (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::has_option (   self,
  section,
  setting 
)
def b3::config::XmlConfigParser::has_section (   self,
  section 
)
def b3::config::XmlConfigParser::has_section (   self,
  section 
)
def b3::config::XmlConfigParser::items (   self,
  section 
)
def b3::config::XmlConfigParser::items (   self,
  section 
)
def b3::config::XmlConfigParser::load (   self,
  fileName 
)
def b3::config::XmlConfigParser::load (   self,
  fileName 
)
def b3::config::XmlConfigParser::loadFromString (   self,
  xmlstring 
)
\
Read the xml config from a string
def b3::config::XmlConfigParser::loadFromString (   self,
  xmlstring 
)
\
Read the xml config from a string
def b3::config::XmlConfigParser::options (   self,
  section 
)
def b3::config::XmlConfigParser::options (   self,
  section 
)
def b3::config::XmlConfigParser::readfp (   self,
  fp 
)
\
Read the xml config file from a file pointer
def b3::config::XmlConfigParser::readfp (   self,
  fp 
)
\
Read the xml config file from a file pointer
def b3::config::XmlConfigParser::save (   self)
def b3::config::XmlConfigParser::save (   self)
def b3::config::XmlConfigParser::sections (   self)
def b3::config::XmlConfigParser::sections (   self)
def b3::config::XmlConfigParser::set (   self,
  section,
  option,
  value 
)
def b3::config::XmlConfigParser::set (   self,
  section,
  option,
  value 
)
def b3::config::XmlConfigParser::setXml (   self,
  xml 
)
\
Read the xml config file from a string
def b3::config::XmlConfigParser::setXml (   self,
  xml 
)
\
Read the xml config file from a string

Member Data Documentation

b3::config::XmlConfigParser::_settings = None [static, private]
b3::config::XmlConfigParser::_xml = None [static, private]

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