UniSet 2.32.1
IORFile.h
1/*
2 * Copyright (c) 2015 Pavel Vainerman.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as
6 * published by the Free Software Foundation, version 2.1.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Lesser Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16// --------------------------------------------------------------------------
20// --------------------------------------------------------------------------
21#ifndef IORFile_H_
22#define IORFile_H_
23// --------------------------------------------------------------------------
24#include <string>
25#include "UniSetTypes.h"
26// --------------------------------------------------------------------------
27namespace uniset
28{
32 class IORFile
33 {
34 public:
35
36 IORFile( const std::string& iordir );
37 ~IORFile();
38
39 std::string getIOR( const ObjectId id );
40 void setIOR( const ObjectId id, const std::string& sior );
41 void unlinkIOR( const ObjectId id );
42
43 std::string getFileName( const ObjectId id );
44
45 private:
46 std::string iordir;
47 };
48 // -----------------------------------------------------------------------------------------
49} // end of namespace
50// -----------------------------------------------------------------------------------------
51#endif
Definition IORFile.h:33
Definition Calibration.h:27
long ObjectId
Definition UniSetTypes_i.idl:30