API Reference > OdDAI Namespace > Classes > Bag Template
Bag Template
OdDAI__BagOdDAI__BagOdDAI__Bag
Syntax
C++
template <typename TItem> class Bag : public AggrUnordered;

daiBag.h

Template class for containers defined within a schema.

 
Name 
Description 
 
Non-virtual destructor! 
 
Aggr 
constructor of copy! 
Bag Template
 
Name 
Description 
 
Bag 
This is Bag, a member of class Bag. 
 
Name 
Description 
 
Returns a type of aggregate.  
 
Clear the aggregate with deletion of all its content. 
 
Make aggregates clone.  
 
Templates aggregates comapring.  
 
Creates a new const iterator along elements of aggregate.  
 
Init aggregate. Creates an empty instance inside aggregate.  
 
Creates a new iterator along elements of aggregate.  
 
Check aggregate for any elements.  
 
Providing internal OdArray to the outside.  
 
Provides aggregates lower bound.  
 
Returns amoung of aggregate elements.  
 
Provides aggregates upper bound.  
 
This is the overview for the isMember method overload. 
 
Checks if aggregate is unset.  
 
Check if aggregate is ordered.  
 
Clean the aggregate with deletion of all its content. 
 
Set OdArray items to aggregate.  
 
type 
Returns a value type of aggregate instance elements.  
AggrUnordered Class
 
Name 
Description 
 
Add 
This is the overview for the Add method overload. 
 
This is the overview for the Remove method overload. 
Bag Template
Name 
Description 
This is nested type OdDAI::Bag::base_type. 
This is nested type OdDAI::Bag::template_type. 
This is nested type OdDAI::Bag::value_type. 
 
Name 
Description 
 
== 
Operator of equal.  
 
Providing internal OdArray to the outside.  
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.