CMS 3D CMS Logo

List of all members | Public Member Functions | 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
 

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)

Definition at line 13 of file FileExportPlugin.py.

13  def fileTypes(self):
14  return self.file_types
15 
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)

Definition at line 16 of file FileExportPlugin.py.

16  def listOptions(self):
17  return self.option_types
18 
def FileExportPlugin.FileExportPlugin.pluginName (   self)

Definition at line 10 of file FileExportPlugin.py.

10  def pluginName(self):
11  return self.plugin_name
12 
def FileExportPlugin.FileExportPlugin.setOption (   self,
  option,
  value 
)

Member Data Documentation