Virtual Vertex Muster SDK 9.0.0 - 9.0.14
Main Page
Modules
Data Structures
Files
File List
MClientLib
MStringRef.h
1
/*****************************************************************************
2
**
3
** Header file for Muster API String object
4
**
5
** Name : MSQLDump.h
6
** Author : Leonardo Bernardini
7
** Version : Alpha 9.0 Wed May 17th 2017
8
**
9
** Copyright 2000-2017, Virtual Vertex
10
** All Rights Reserved.
11
**
12
** This file contains UNPUBLISHED PROPRIETARY SOURCE CODE.
13
** The contents of this file may not be disclosed to third parties, copied
14
** or duplicated in any form, in whole or in part, without the prior written
15
** permission of the author.
16
**
17
*****************************************************************************/
18
#ifndef MSTRINGREF_H
19
#define MSTRINGREF_H
20
21
#ifdef WIN32
22
// Windows definitions
23
#ifdef MCLIENTLIB_EXPORTS
24
#define MCLIENTLIB_API __declspec(dllexport)
25
#else
26
#define MCLIENTLIB_API __declspec(dllimport)
27
#endif
28
#else
29
30
#ifndef MCLIENTLIB_EXPORTS
31
#ifdef LINUX
32
#define MCLIENTLIB_API
33
#else
34
#define MCLIENTLIB_API
35
#endif
36
#else
37
#define MCLIENTLIB_API
38
#endif
39
#endif
40
41
#include <string>
42
43
// Disable STL Export warning, member is private, we don't need direct access from the DLL client
44
#if defined(_WIN32)
45
#pragma warning(disable: 4251)
46
#endif // _WIN32
47
48
namespace
MClientLib
{
49
60
class
MCLIENTLIB_API
MStringRef
{
61
public
:
62
63
private
:
64
std::string string;
65
public
:
66
MStringRef
();
67
const
std::string& getString();
68
void
setString(
const
std::string&);
69
};
70
72
}
73
74
#endif
MClientLib::MStringRef
Class holding a string used across the API.
Definition:
MStringRef.h:60
MClientLib
Definition:
MAlarm.h:48