UniSet  2.8.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 // --------------------------------------------------------------------------
27 namespace uniset
28 {
32  class IORFile
33  {
34  public:
35 
36  static std::string getIOR( const ObjectId id );
37  static void setIOR( const ObjectId id, const std::string& sior );
38  static void unlinkIOR( const ObjectId id );
39 
40  static std::string getFileName( const ObjectId id );
41  };
42  // -----------------------------------------------------------------------------------------
43 } // end of namespace
44 // -----------------------------------------------------------------------------------------
45 #endif
Definition: CommonEventLoop.h:14
Definition: IORFile.h:32
long ObjectId
Definition: UniSetTypes_i.idl:30