Ocean
IO.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_IO_IO_H
9 #define META_OCEAN_IO_IO_H
10 
11 #include "ocean/base/Base.h"
12 #include "ocean/base/Messenger.h"
13 
14 namespace Ocean
15 {
16 
17 namespace IO
18 {
19 
20 /**
21  * @defgroup io Ocean IO Library
22  * @{
23  * The Ocean IO Library provides all base functionalities needed for input and output operations.
24  * The library provides a binary bitstream, a scanner, and file and directory handling functionalities.<p>
25  * The library is platform independent.
26  * @}
27  */
28 
29 /**
30  * @namespace Ocean::IO Namespace of the Ocean IO library<p>
31  * The Namespace Ocean::IO is used in the entire Ocean IO library.
32  */
33 
34 // Defines OCEAN_IO_EXPORT for dll export and import.
35 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
36  #ifdef USE_OCEAN_IO_EXPORT
37  #define OCEAN_IO_EXPORT __declspec(dllexport)
38  #else
39  #define OCEAN_IO_EXPORT __declspec(dllimport)
40  #endif
41 #else
42  #define OCEAN_IO_EXPORT
43 #endif
44 
45 }
46 
47 }
48 
49 #endif // META_OCEAN_IO_IO_H
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15