Public Types
Public Member Functions
Create DataObjectContainer
Element Access
Capacity
Friends
Operations
Detailed Description
A general container for vector data. This is a container for all data objects of the same type which may be used within SoS. A vector data object is described through a ‘design’ identifier and a ‘quantity’ identifier: quantity A ‘quantity’ may be the x-direction of the stress tensor, the plastic strain or any other scalar physical quantity. design A ‘design’ is a single instantiation of the same quantity, i.e. if one has several measurements of the same quantity, each measurement represents a single design. Throughout the workflow of SoS one may add data sets which may be interpreted in terms of new designs or quantities. For example, the mean value or the standard deviation of a quantity is computed from a set of designs of the same quantity, and can be interpreted as a new design. Furthermore, one may define additional quantities, for example compute the von Mises equivalent stress from the 6-dimensional stress tensor (i.e. from 6 different quantities). DataObjectContainer is a Sender. It communicates to it’s Listeners (Qt Datatables, Structure) when its DataObjects are changed (insert, erase, rename, change activity)Constructor & Destructor Documentation
DataObjectContainer()
Member Function Documentation
__getitem__()
Returns
a data object pointer
Exceptions
__str__()
active()
checkInsert()
Returns
If the key is invalid, it returns false. returns true if key does not exist in the data base.
depInputs()
designExists()
Returns
True if a DataObject with the given design ID exists.
designIdents()
designs()
dimension()
empty()
erase() [1/2]
erase() [2/2]
eraseDesign()
eraseQuantity()
exists() [1/2]
Returns
true, if the requested DataObject exists.
exists() [2/2]
fillValueTypeManager()
Convention: one ValueType per quantity. Ignores DataObjects with empty m_value_type shared_ptr.
filterDesign() [1/2]
Returns
The resulting DataObjectContainer
filterDesign() [2/2]
Returns
the resulting filter object
filterID() [1/3]
Returns
the resulting container
filterID() [2/3]
Returns
the resulting container
filterID() [3/3]
Returns
the resulting container
filterQuantity() [1/2]
Returns
the resulting filter object
filterQuantity() [2/2]
Returns
the resulting filter object
filterSerializable()
filterType()
Returns
the resulting container
filterWithoutDesign()
Returns
the resulting filter object
filterWithoutID()
Returns
the resulting filter object
filterWithoutQuantity()
Returns
the resulting filter object
find() [1/2]
Returns
a pointer to the requested object
Exceptions
find() [2/2]
Returns
a pointer to the requested object
Exceptions
fromFile()
getSampleIdent()
static
Returns
the design string ident of the given sample number
Parameters
getSampleNumber()
static
Returns
the sample number which is given as a design ident string
Parameters
inactive()
inputs()
insert() [1/3]
Returns
An iterator to the newly added data object
Exceptions
insert() [2/3]
Returns
An iterator to the newly added data object
Exceptions
insert() [3/3]
See also
generateDescription for each inserted object!
Parameters
See also
database must be a valid pointer.
isReservedResultQuantityIdent()
static
Returns
true if the given quantity ident is reserved for results (hence it cannot be imported from file)
Parameters
isSampleDesignIdent()
static
Returns
true if the given design ident string can be interpreted as a sample number
Parameters
nonSamples()
notFromFile()
operator*()
Returns
returns the intersection of this and other
operator+()
Returns
returns the union of this and other
operator/()
Returns
returns the difference of this minus other
operator=()
Returns
a reference to this object
operator==()
operator[]()
Returns
a data object pointer
Exceptions
quantities()
quantityExists()
Returns
True if a DataObject with the given quantity ID exists.
quantityIdents()
renameDesign()
Creates copies of the DataObjects to be renamed and removes the original DataObjects from this DataObjectContainer. This favors data consistency over performance.
renameQuantity()
Creates copies of the DataObjects to be renamed and removes the original DataObjects from this DataObjectContainer. This favors data consistency over performance.
responses()
sampleFormatString()
static
Returns
A copy of the
See also
sample_ident_format_string
samples()
setActive()
size()
sortDesignIdents()
static
Sorts the given list of design IDs.
Parameters
Returns
An ordered vector of IDs. Numbers are sorted according to
See also
compareDesignIdents