KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
classes.classCreator.ClassCreator Class Reference
Inheritance diagram for classes.classCreator.ClassCreator:
Collaboration diagram for classes.classCreator.ClassCreator:

Public Member Functions

def __init__ (self, name, base=None, template=None, members=None, procedures=None, author='KratosAppGenerator')
 
- Public Member Functions inherited from utils.templateRule.TemplateRule
def __init__ (self)
 
def GetRule (self, ruleName)
 

Public Attributes

 author
 
 nameCamel
 
 nameUpper
 
 nameLower
 
 baseHead
 
 base
 
 template
 
 procedures
 
- Public Attributes inherited from utils.templateRule.TemplateRule
 rules
 
def AddClassMemberVariables (self, members)
 Adds a list of class member variables to the class and initializes them in case it is possible. More...
 
def AddProcudures (self, procedures)
 

Constructor & Destructor Documentation

◆ __init__()

def classes.classCreator.ClassCreator.__init__ (   self,
  name,
  base = None,
  template = None,
  members = None,
  procedures = None,
  author = 'KratosAppGenerator' 
)

Member Function Documentation

◆ AddClassMemberVariables()

def classes.classCreator.ClassCreator.AddClassMemberVariables (   self,
  members 
)

Adds a list of class member variables to the class and initializes them in case it is possible.

Input

members: list of 'KratosClassMember' the list of class members to be add to the class

Rules

KRATOS_MEMBERS_LIST}: The variable list

KRATOS_INIT_MEMBER_LIST}: The default init values, in case they exists, for every constructor

KRATOS_CC_INIT_MEMBER_LIST}: The init values for the copy constructor.

◆ AddProcudures()

def classes.classCreator.ClassCreator.AddProcudures (   self,
  procedures 
)

Member Data Documentation

◆ author

classes.classCreator.ClassCreator.author

◆ base

classes.classCreator.ClassCreator.base

◆ baseHead

classes.classCreator.ClassCreator.baseHead

◆ nameCamel

classes.classCreator.ClassCreator.nameCamel

◆ nameLower

classes.classCreator.ClassCreator.nameLower

◆ nameUpper

classes.classCreator.ClassCreator.nameUpper

◆ procedures

classes.classCreator.ClassCreator.procedures

◆ template

classes.classCreator.ClassCreator.template

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