Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Attributes

# POD Class Reference

Inheritance diagram for POD:

List of all members.

## Public Member Functions
def | __init__
def | __repr__
def | applyTo
def | copyFrom
def | getDataNames
def | getDefaultValue
def | getValue
def | makeCopy
def | setDefaultValues
## Static Public Attributes
dictionary | DataSet

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | kwArgs
| ) |  |

## Member Function Documentation

def __repr__ | ( |  | self | ) |

def applyTo | ( |  | self,
|  |  | obj
| ) |  |

def copyFrom | ( |  | self,
|  |  | other,
|  |  | strict = `False`
| ) |  |

def getDataNames | ( |  | cls | ) |

def getDefaultValue | ( |  | cls,
|  |  | name
| ) |  |

def getValue | ( |  | self,
|  |  | name
| ) |  |

def makeCopy | ( |  | self | ) |

def setDefaultValues | ( |  | self | ) |

## Member Data Documentation

dictionary DataSet`[static]`

Initial value:

    {
            # base class does not define any data items, but they would
            # appear here as 'name': defaultValue,
            #
            # WARNING: default values of mutable types that do not copy by
            # value (dicts, lists etc.) will be shared by all class instances.
            # if default value is callable, it will be called to get actual
            # default value
            #
            # for example:
            #
            # class MapData(POD):
            #     DataSet = {
            #         'spawnIndices': Functor(list, [1,5,22]),
            #         }
            }

Reimplemented in PODtest, and DerivedPOD.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties