UniSet  2.6.0
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 #include "Exceptions.h"
27 // --------------------------------------------------------------------------
28 namespace uniset
29 {
33  class IORFile
34  {
35  public:
36  IORFile();
37 
38  static std::string getIOR( const ObjectId id );
39  static void setIOR( const ObjectId id, const std::string& sior );
40  static void unlinkIOR( const ObjectId id );
41 
42  static std::string getFileName( const ObjectId id );
43 
44  protected:
45 
46  private:
47  };
48  // -----------------------------------------------------------------------------------------
49 } // end of namespace
50 // -----------------------------------------------------------------------------------------
51 #endif
Definition: CallbackTimer.h:29
Definition: IORFile.h:33
long ObjectId
Definition: UniSetTypes_i.idl:30