CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes
FileExportPlugin.FileExportPlugin Class Reference
Inheritance diagram for FileExportPlugin.FileExportPlugin:

Public Member Functions

def __init__ (self)
 
def checkOption (self, option, value)
 
def export (self, data, filename, filetype)
 
def fileTypes (self)
 
def getOption (self, option)
 
def listOptions (self)
 
def pluginName (self)
 
def setOption (self, option, value)
 

Public Attributes

 options
 

Static Public Attributes

 file_types
 
 option_types
 
 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.

5  def __init__(self):
6  self.options={}
7  for k,v in self.option_types.items():
8  self.options[k]=v[2]
9 

Member Function Documentation

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

Definition at line 29 of file FileExportPlugin.py.

Referenced by FileExportPlugin.FileExportPlugin.setOption().

29  def checkOption(self,option,value):
30  return True
31 
def checkOption(self, option, value)
def FileExportPlugin.FileExportPlugin.export (   self,
  data,
  filename,
  filetype 
)

Definition at line 32 of file FileExportPlugin.py.

32  def export(self,data,filename,filetype):
33  raise NotImplemented
34 
def export(self, data, filename, filetype)
def FileExportPlugin.FileExportPlugin.fileTypes (   self)
def FileExportPlugin.FileExportPlugin.getOption (   self,
  option 
)

Definition at line 26 of file FileExportPlugin.py.

26  def getOption(self,option):
27  return self.options.get(option,None)
28 
def FileExportPlugin.FileExportPlugin.listOptions (   self)
def FileExportPlugin.FileExportPlugin.pluginName (   self)
def FileExportPlugin.FileExportPlugin.setOption (   self,
  option,
  value 
)

Member Data Documentation

FileExportPlugin.FileExportPlugin.file_types
static

Definition at line 4 of file FileExportPlugin.py.

Referenced by FileExportPlugin.FileExportPlugin.fileTypes().

FileExportPlugin.FileExportPlugin.option_types
static

Definition at line 2 of file FileExportPlugin.py.

Referenced by FileExportPlugin.FileExportPlugin.listOptions().

FileExportPlugin.FileExportPlugin.plugin_name
static

Definition at line 3 of file FileExportPlugin.py.

Referenced by FileExportPlugin.FileExportPlugin.pluginName().