SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft
SUAVE.Core.Container.Container Class Reference
Inheritance diagram for SUAVE.Core.Container.Container:
SUAVE.Core.Data.Data

Public Member Functions

def __defaults__ (self)
 
def __init__ (self, *args, **kwarg)
 
def append (self, val)
 
def extend (self, vals)
 
def get_children (self)
 
- Public Member Functions inherited from SUAVE.Core.Data.Data
def __getattribute__ (self, k)
 
def __setattr__ (self, k, v)
 
def __delattr__ (self, k)
 
def __new__ (cls, *args, **kwarg)
 
def typestring (self)
 
def dataname (self)
 
def __str__ (self, indent='')
 
def __iter__ (self)
 
def itervalues (self)
 
def values (self)
 
def update (self, other)
 
def append_or_update (self, other)
 
def get_bases (self)
 
def append (self, value, key=None)
 
def deep_set (self, keys, val)
 
def deep_get (self, keys)
 
def pack_array (self, output='vector')
 
def unpack_array (self, M)
 
def do_recursive (self, method, other=None, default=None)
 

Detailed Description

A dict-type container with attribute, item and index style access
    intended to hold a attribute-accessible list of Data(). This is unordered.
    
    Assumptions:
    N/A
    
    Source:
    N/A

Constructor & Destructor Documentation

◆ __init__()

def SUAVE.Core.Container.Container.__init__ (   self,
args,
**  kwarg 
)
Initialization that builds the container

    Assumptions:
    None

    Source:
    N/A

    Inputs:
    self

    Outputs:
    N/A
    
    Properties Used:
    N/A

Reimplemented from SUAVE.Core.Data.Data.

Member Function Documentation

◆ __defaults__()

def SUAVE.Core.Container.Container.__defaults__ (   self)
Defaults function
    
    Assumptions:
    None

    Source:
    N/A

    Inputs:
    N/A

    Outputs:
    N/A
    
    Properties Used:
    N/A

Reimplemented from SUAVE.Core.Data.Data.

◆ append()

def SUAVE.Core.Container.Container.append (   self,
  val 
)
Appends the value to the containers
    This overrides the Data class append by allowing for duplicate named components
    The following components will get new names.

    Assumptions:
    None

    Source:
    N/A

    Inputs:
    self

    Outputs:
    N/A
    
    Properties Used:
    N/A

◆ extend()

def SUAVE.Core.Container.Container.extend (   self,
  vals 
)
Append things regressively depending on what is inside.
    
    Assumptions:
    None

    Source:
    N/A

    Inputs:
    self

    Outputs:
    N/A
    
    Properties Used:
    N/A

◆ get_children()

def SUAVE.Core.Container.Container.get_children (   self)
Returns the components that can go inside

Assumptions:
None
    
Source:
N/A
    
Inputs:
None
    
Outputs:
None
    
Properties Used:
N/A

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