Ocean
Loading...
Searching...
No Matches
io/serialization/Serialization.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_SERIALIZATION_SERIALIZATION_H
9#define META_OCEAN_IO_SERIALIZATION_SERIALIZATION_H
10
11#include "ocean/io/IO.h"
12
13namespace Ocean
14{
15
16namespace IO
17{
18
19namespace Serialization
20{
21
22/**
23 * @ingroup io
24 * @defgroup ioserialization Ocean IO Serialization Library
25 * @{
26 * The Ocean IO Serialization Library provides functionalities for data serialization and deserialization.
27 * The library supports streaming binary data with timestamps and channels for recording and playback.
28 * @}
29 */
30
31/**
32 * @namespace Ocean::IO::Serialization
33 * @brief Namespace of the Ocean IO Serialization library.
34 *
35 * The Namespace Ocean::IO::Serialization is used in the entire Ocean IO Serialization library.
36 */
37
38// Defines OCEAN_IO_SERIALIZATION_EXPORT for dll export and import.
39#if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
40 #ifdef USE_OCEAN_IO_SERIALIZATION_EXPORT
41 #define OCEAN_IO_SERIALIZATION_EXPORT __declspec(dllexport)
42 #else
43 #define OCEAN_IO_SERIALIZATION_EXPORT __declspec(dllimport)
44 #endif
45#else
46 #define OCEAN_IO_SERIALIZATION_EXPORT
47#endif
48
49}
50
51}
52
53}
54
55#endif // META_OCEAN_IO_SERIALIZATION_SERIALIZATION_H
The namespace covering the entire Ocean framework.
Definition Accessor.h:15