summaryrefslogtreecommitdiff
path: root/src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx
blob: e2d1a9d4bcb975f4edee5d4aa2922dc37ed5e334 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
// File:        XmlLDrivers_NamespaceDef.cxx
// Created:     Wed Sep 19 15:18:44 2001
// Author:      Alexander GRIGORIEV
// Copyright:   Open Cascade 2001
// History:

#include <XmlLDrivers_NamespaceDef.ixx>

//=======================================================================
//function : XmlLDrivers_NamespaceDef
//purpose  : Empty constructor
//=======================================================================

XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef ()
 {}

//=======================================================================
//function : XmlLDrivers_NamespaceDef
//purpose  : Constructor
//=======================================================================

XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef
                                (const TCollection_AsciiString& thePrefix,
                                 const TCollection_AsciiString& theURI)
        : myPrefix (thePrefix), myURI (theURI)
{}

//=======================================================================
//function : Prefix
//purpose  : Query
//=======================================================================

const TCollection_AsciiString& XmlLDrivers_NamespaceDef::Prefix () const
{
  return myPrefix;
}

//=======================================================================
//function : URI
//purpose  : Query
//=======================================================================

const TCollection_AsciiString& XmlLDrivers_NamespaceDef::URI () const
{
  return myURI;
}