1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,109 @@
// File: StepBasic_GeneralProperty.cxx
// Created: Wed May 10 15:09:07 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <StepBasic_GeneralProperty.ixx>
//=======================================================================
//function : StepBasic_GeneralProperty
//purpose :
//=======================================================================
StepBasic_GeneralProperty::StepBasic_GeneralProperty ()
{
defDescription = Standard_False;
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepBasic_GeneralProperty::Init (const Handle(TCollection_HAsciiString) &aId,
const Handle(TCollection_HAsciiString) &aName,
const Standard_Boolean hasDescription,
const Handle(TCollection_HAsciiString) &aDescription)
{
theId = aId;
theName = aName;
defDescription = hasDescription;
if (defDescription) {
theDescription = aDescription;
}
else theDescription.Nullify();
}
//=======================================================================
//function : Id
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepBasic_GeneralProperty::Id () const
{
return theId;
}
//=======================================================================
//function : SetId
//purpose :
//=======================================================================
void StepBasic_GeneralProperty::SetId (const Handle(TCollection_HAsciiString) &aId)
{
theId = aId;
}
//=======================================================================
//function : Name
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepBasic_GeneralProperty::Name () const
{
return theName;
}
//=======================================================================
//function : SetName
//purpose :
//=======================================================================
void StepBasic_GeneralProperty::SetName (const Handle(TCollection_HAsciiString) &aName)
{
theName = aName;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepBasic_GeneralProperty::Description () const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
void StepBasic_GeneralProperty::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
{
theDescription = aDescription;
}
//=======================================================================
//function : HasDescription
//purpose :
//=======================================================================
Standard_Boolean StepBasic_GeneralProperty::HasDescription () const
{
return defDescription;
}