test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
Mixins.PrintOptions Class Reference
Inheritance diagram for Mixins.PrintOptions:

Public Member Functions

def __init__
 
def indent
 
def indentation
 
def unindent
 

Public Attributes

 deltaIndent_
 
 indent_
 
 isCfg
 

Detailed Description

Definition at line 7 of file Mixins.py.

Constructor & Destructor Documentation

def Mixins.PrintOptions.__init__ (   self)

Definition at line 8 of file Mixins.py.

8 
9  def __init__(self):
10  self.indent_= 0
11  self.deltaIndent_ = 4
self.isCfg = True

Member Function Documentation

def Mixins.PrintOptions.indent (   self)

Definition at line 14 of file Mixins.py.

References Mixins.PrintOptions.deltaIndent_, Mixins.PrintOptions.indent_, and MisalignmentScenarioBuilder.indent_.

14 
15  def indent(self):
self.indent_ += self.deltaIndent_
def Mixins.PrintOptions.indentation (   self)

Definition at line 12 of file Mixins.py.

References Mixins.PrintOptions.indent_, and MisalignmentScenarioBuilder.indent_.

12 
13  def indentation(self):
return ' '*self.indent_
def Mixins.PrintOptions.unindent (   self)

Definition at line 16 of file Mixins.py.

References Mixins.PrintOptions.deltaIndent_, Mixins.PrintOptions.indent_, and MisalignmentScenarioBuilder.indent_.

16 
17  def unindent(self):
18  self.indent_ -= self.deltaIndent_

Member Data Documentation

Mixins.PrintOptions.deltaIndent_

Definition at line 10 of file Mixins.py.

Referenced by Mixins.PrintOptions.indent(), and Mixins.PrintOptions.unindent().

Mixins.PrintOptions.indent_

Definition at line 9 of file Mixins.py.

Referenced by Mixins.PrintOptions.indent(), Mixins.PrintOptions.indentation(), and Mixins.PrintOptions.unindent().

Mixins.PrintOptions.isCfg

Definition at line 11 of file Mixins.py.