//purpose :
//=======================================================================
-TObj_Partition::TObj_Partition (const TDF_Label& theLabel)
- : TObj_Object( theLabel )
+TObj_Partition::TObj_Partition (const TDF_Label& theLabel, const Standard_Boolean theSetName)
+ : TObj_Object( theLabel, theSetName )
{
}
//=======================================================================
Handle(TObj_Partition) TObj_Partition::Create
- (const TDF_Label& theLabel)
+ (const TDF_Label& theLabel, const Standard_Boolean theSetName)
{
Handle(TObj_Partition) aPartition =
- new TObj_Partition(theLabel);
+ new TObj_Partition(theLabel, theSetName);
aPartition->SetLastIndex(0);
return aPartition;
}
//! Constructor is protected;
//! static methods are used for creation of this type of objects
- Standard_EXPORT TObj_Partition (const TDF_Label& theLabel);
+ Standard_EXPORT TObj_Partition (const TDF_Label& theLabel, const Standard_Boolean theSetName = Standard_True);
public:
/**
//! Creates a new partition on given label.
static Standard_EXPORT Handle(TObj_Partition) Create
- (const TDF_Label& theLabel);
+ (const TDF_Label& theLabel, const Standard_Boolean theSetName = Standard_True);
public:
/**