polc.data
index
/mud/nakedmud-mod/lib/pymodules/polc/data.py

################################################################################
#
# Four Worlds
# Copyright (c) 2009-????
#
# Package: polc
#    File: data.py
#
# The automatic Python OLC system, capable of generating an online content editor
# for a given Python class or dict by using dictionaries to discover properties.
#
# OLC Data Storage
#
# Author: Stendec
#
################################################################################

 
Modules
       
auxiliary
copy
mudsys
storage

 
Classes
       
OLCAuxData
OLCData

 
class OLCAuxData
    ################################################################################
# Storage Class
################################################################################
 
  Methods defined here:
__init__(self, set=None)
copy(self)
copyTo(self, to)
store(self)

 
class OLCData
     Methods defined here:
__init__(self, set=None)
copy(self)
copyTo(self, to)
hk(self, key, okey=None)
Determines if we have a key. No value.
k(self, key, okey=None)
Get the value of the option in key, or None if it doesn't exist.
reset(self)
store(self)

 
Data
        fancy_keys = {'desc': 'Description', 'edesc': 'Extra Descriptions', 'mdesc': 'Room Description for Multiple Occurences', 'mname': 'Name for Multiple Occurences', 'rdesc': 'Room Description'}
menukeys = '1234567890ABCDEFGHIJKLMNOPRSTUVWXYZ'