VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtUserDataString.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <osg/Referenced>
14 #include <string>
15 
16 namespace makVrv
17 {
21  class DT_DLL_VRVOSG DtUserDataString : public osg::Referenced
22  {
23  public:
25  DtUserDataString(const std::string& str);
26 
28  inline const std::string& value() const
29  {
30  return myString;
31  }
32 
33  protected:
35  virtual ~DtUserDataString();
36 
37  protected:
38  std::string myString;
39  };
40 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
OSG UserData holder for a std::string.
Definition: DtUserDataString.h:21
const std::string & value() const
Get the string value.
Definition: DtUserDataString.h:28
std::string myString
Definition: DtUserDataString.h:38
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)