mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-03 11:42:58 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
#include <HeaderSection_FileSchema.ixx>
|
||||
|
||||
|
||||
HeaderSection_FileSchema::HeaderSection_FileSchema () {}
|
||||
|
||||
void HeaderSection_FileSchema::Init(
|
||||
const Handle(Interface_HArray1OfHAsciiString)& aSchemaIdentifiers)
|
||||
{
|
||||
// --- class own fields ---
|
||||
schemaIdentifiers = aSchemaIdentifiers;
|
||||
}
|
||||
|
||||
|
||||
void HeaderSection_FileSchema::SetSchemaIdentifiers(const Handle(Interface_HArray1OfHAsciiString)& aSchemaIdentifiers)
|
||||
{
|
||||
schemaIdentifiers = aSchemaIdentifiers;
|
||||
}
|
||||
|
||||
Handle(Interface_HArray1OfHAsciiString) HeaderSection_FileSchema::SchemaIdentifiers() const
|
||||
{
|
||||
return schemaIdentifiers;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) HeaderSection_FileSchema::SchemaIdentifiersValue(const Standard_Integer num) const
|
||||
{
|
||||
return schemaIdentifiers->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer HeaderSection_FileSchema::NbSchemaIdentifiers () const
|
||||
{
|
||||
if (schemaIdentifiers.IsNull()) return 0;
|
||||
return schemaIdentifiers->Length();
|
||||
}
|
||||
Reference in New Issue
Block a user