CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, indent=0, deltaIndent=4, process=True, targetDirectory=None, useSubdirectories=False)
 
def indent (self)
 
def indentation (self)
 
def unindent (self)
 

Public Attributes

 deltaIndent_
 
 indent_
 
 isCfg
 
 targetDirectory
 
 useSubdirectories
 

Detailed Description

Definition at line 11 of file Mixins.py.

Constructor & Destructor Documentation

◆ __init__()

def Mixins.PrintOptions.__init__ (   self,
  indent = 0,
  deltaIndent = 4,
  process = True,
  targetDirectory = None,
  useSubdirectories = False 
)

Definition at line 12 of file Mixins.py.

12  def __init__(self, indent = 0, deltaIndent = 4, process = True, targetDirectory = None, useSubdirectories = False):
13  self.indent_= indent
14  self.deltaIndent_ = deltaIndent
15  self.isCfg = process
16  self.targetDirectory = targetDirectory
17  self.useSubdirectories = useSubdirectories

Member Function Documentation

◆ indent()

def Mixins.PrintOptions.indent (   self)

◆ indentation()

def Mixins.PrintOptions.indentation (   self)

Definition at line 18 of file Mixins.py.

18  def indentation(self):
19  return ' '*self.indent_

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

◆ unindent()

def Mixins.PrintOptions.unindent (   self)

Definition at line 22 of file Mixins.py.

22  def unindent(self):
23  self.indent_ -= self.deltaIndent_
24 

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

Member Data Documentation

◆ deltaIndent_

Mixins.PrintOptions.deltaIndent_

Definition at line 14 of file Mixins.py.

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

◆ indent_

Mixins.PrintOptions.indent_

◆ isCfg

Mixins.PrintOptions.isCfg

Definition at line 15 of file Mixins.py.

◆ targetDirectory

Mixins.PrintOptions.targetDirectory

Definition at line 16 of file Mixins.py.

◆ useSubdirectories

Mixins.PrintOptions.useSubdirectories

Definition at line 17 of file Mixins.py.

util.rrClient.indent
indent
Definition: rrClient.py:41
printContent_cfi.indentation
indentation
Definition: printContent_cfi.py:10