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,45 @@
#include <HeaderSection_FileDescription.ixx>
HeaderSection_FileDescription::HeaderSection_FileDescription () {}
void HeaderSection_FileDescription::Init(
const Handle(Interface_HArray1OfHAsciiString)& aDescription,
const Handle(TCollection_HAsciiString)& aImplementationLevel)
{
// --- class own fields ---
description = aDescription;
implementationLevel = aImplementationLevel;
}
void HeaderSection_FileDescription::SetDescription(const Handle(Interface_HArray1OfHAsciiString)& aDescription)
{
description = aDescription;
}
Handle(Interface_HArray1OfHAsciiString) HeaderSection_FileDescription::Description() const
{
return description;
}
Handle(TCollection_HAsciiString) HeaderSection_FileDescription::DescriptionValue(const Standard_Integer num) const
{
return description->Value(num);
}
Standard_Integer HeaderSection_FileDescription::NbDescription () const
{
if (description.IsNull()) return 0;
return description->Length();
}
void HeaderSection_FileDescription::SetImplementationLevel(const Handle(TCollection_HAsciiString)& aImplementationLevel)
{
implementationLevel = aImplementationLevel;
}
Handle(TCollection_HAsciiString) HeaderSection_FileDescription::ImplementationLevel() const
{
return implementationLevel;
}