CMS 3D CMS Logo

Public Member Functions | Public Attributes | Static Public Attributes

FileExportPlugin::FileExportPlugin Class Reference

List of all members.

Public Member Functions

def __init__
def checkOption
def export
def fileTypes
def getOption
def listOptions
def pluginName
def setOption

Public Attributes

 options

Static Public Attributes

tuple file_types = ()
dictionary option_types = {}
string plugin_name = ''

Detailed Description

Definition at line 1 of file FileExportPlugin.py.


Constructor & Destructor Documentation

def FileExportPlugin::FileExportPlugin::__init__ (   self)

Definition at line 5 of file FileExportPlugin.py.

00006                     :
00007     self.options={}
00008     for k,v in self.option_types.items():
00009       self.options[k]=v[2]
    

Member Function Documentation

def FileExportPlugin::FileExportPlugin::checkOption (   self,
  option,
  value 
)

Definition at line 29 of file FileExportPlugin.py.

00030                                     :
00031     return True
  
def FileExportPlugin::FileExportPlugin::export (   self,
  data,
  filename,
  filetype 
)

Definition at line 32 of file FileExportPlugin.py.

00033                                          :
00034     raise NotImplemented
def FileExportPlugin::FileExportPlugin::fileTypes (   self)

Definition at line 13 of file FileExportPlugin.py.

00014                      :
00015     return self.file_types
    
def FileExportPlugin::FileExportPlugin::getOption (   self,
  option 
)

Definition at line 26 of file FileExportPlugin.py.

00027                             :
00028     return self.options.get(option,None)
    
def FileExportPlugin::FileExportPlugin::listOptions (   self)

Definition at line 16 of file FileExportPlugin.py.

00017                        :
00018     return self.option_types
    
def FileExportPlugin::FileExportPlugin::pluginName (   self)

Definition at line 10 of file FileExportPlugin.py.

00011                       :
00012     return self.plugin_name
    
def FileExportPlugin::FileExportPlugin::setOption (   self,
  option,
  value 
)

Definition at line 19 of file FileExportPlugin.py.

00020                                   :
00021     check = self.checkOption(option,value)
00022     if check==True:
00023       self.options[option]=value
00024     else:
00025       raise check
    

Member Data Documentation

Definition at line 4 of file FileExportPlugin.py.

Definition at line 2 of file FileExportPlugin.py.

Definition at line 5 of file FileExportPlugin.py.

Definition at line 3 of file FileExportPlugin.py.