OpenStructure
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
IOProfiles Class Reference

Public Member Functions

 __init__ (self)
 
 __getitem__ (self, key)
 
 __setitem__ (self, key, value)
 
 Get (self, key)
 
 __len__ (self)
 
 __iter__ (self)
 

Protected Attributes

 _dict
 

Detailed Description

Definition at line 24 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self)

Definition at line 25 of file __init__.py.

Member Function Documentation

◆ __getitem__()

__getitem__ (   self,
  key 
)

Definition at line 40 of file __init__.py.

◆ __iter__()

__iter__ (   self)

Definition at line 71 of file __init__.py.

◆ __len__()

__len__ (   self)

Definition at line 68 of file __init__.py.

◆ __setitem__()

__setitem__ (   self,
  key,
  value 
)

Definition at line 43 of file __init__.py.

◆ Get()

Get (   self,
  key 
)
 Getter which keeps compound library up to date

Keeps compound library for default profiles up to date. Reason for that is
that conop.SetDefaultLib() after importing io has no effect. Processors
(and the associated compound library) are set at import. Custom profiles,
i.e. profiles that are not defined in constructor of this class, are
returned as is without any update.

Definition at line 49 of file __init__.py.

Field Documentation

◆ _dict

_dict
protected

Definition at line 26 of file __init__.py.


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