summaryrefslogtreecommitdiff
path: root/src/HeaderSection/HeaderSection_FileSchema.cxx
blob: c9bd86b8e436febdce697617b0cb27fde693b5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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();
}