phystricks
Public Member Functions | Public Attributes | List of all members
phystricks.src.parameters.Options.Options Class Reference

This is part of the module phystricks. More...

Inheritance diagram for phystricks.src.parameters.Options.Options:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.parameters.Options.Options:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self)
 
def add_option (self, opt)
 
def remove_option (self, opt)
 
def merge_options (self, opt)
 
def extend_options (self, Opt)
 
def sousOptions (self, AFiter)
 
def style_ligne (self)
 
def code (self, language=None)
 
def __getitem__ (self, opt)
 

Public Attributes

 DicoOptions
 

Detailed Description

This is part of the module phystricks.

phystricks is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

phystricks is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with phystricks.py. If not, see http://www.gnu.org/licenses/.

Describe the drawing options of an objects.

ATTRIBUTES :
    self.DicoOptions : dictionnary which contains the options
METHODS :
    self.merge_options(opt) : opt is an other object of the class Options. The method merges the two in the sense that opt is not
                    changed, but 
                    1. if opt contains a key more, it is added to self
                    2. if a key of opt is different of the one of self, self is changed

Constructor & Destructor Documentation

def phystricks.src.parameters.Options.Options.__init__ (   self)

Member Function Documentation

def phystricks.src.parameters.Options.Options.__getitem__ (   self,
  opt 
)
def phystricks.src.parameters.Options.Options.add_option (   self,
  opt 
)
def phystricks.src.parameters.Options.Options.code (   self,
  language = None 
)
def phystricks.src.parameters.Options.Options.extend_options (   self,
  Opt 
)
def phystricks.src.parameters.Options.Options.merge_options (   self,
  opt 
)
def phystricks.src.parameters.Options.Options.remove_option (   self,
  opt 
)
def phystricks.src.parameters.Options.Options.sousOptions (   self,
  AFiter 
)
def phystricks.src.parameters.Options.Options.style_ligne (   self)

Member Data Documentation

phystricks.src.parameters.Options.Options.DicoOptions

The documentation for this class was generated from the following file: