View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

shmname.h
Go to the documentation of this file.
1#ifndef SHMNAME_H
2#define SHMNAME_H
3
4#include "export.h"
5#include <array>
6#include <string>
7#include "archives_config.h"
8
9namespace vistle {
10
12 std::array<char, 32> name;
13 //shm_name_t(const std::string &s = "INVALID");
14 shm_name_t(const std::string &s = std::string());
15
16 operator const char *() const;
17 operator char *();
18 operator std::string() const;
19 std::string str() const;
20 bool operator==(const std::string &rhs) const;
21 bool operator==(const shm_name_t &rhs) const;
22 bool empty() const;
23 void clear();
24
26 template<class Archive>
27 void save(Archive &ar) const;
28 template<class Archive>
29 void load(Archive &ar);
30};
31std::string operator+(const std::string &s, const shm_name_t &n);
32
33} // namespace vistle
34#endif
#define ARCHIVE_ACCESS_SPLIT
Definition: archives_config.h:502
#define V_COREEXPORT
Definition: export.h:9
Definition: allobjects.cpp:30
std::string operator+(const std::string &s, const shm_name_t &n)
Definition: shmname.cpp:58
bool operator==(const ParameterVector< S > &v1, const ParameterVector< S > &v2)
Definition: paramvector_impl.h:225
Definition: shmname.h:11
std::array< char, 32 > name
Definition: shmname.h:12
ARCHIVE_ACCESS_SPLIT void save(Archive &ar) const