Technische Universität Wien
Orientation and Processing of Airborne Laser Scanning data
Department of Geodesy and Geoinformation - Research Groups Photogrammetry and Remote Sensing
distroDM
c++_api
inc
DM
IText.hpp
1
#pragma once
2
3
#include "DM/config.hpp"
4
#include "DM/ObjectBase.hpp"
5
#include "DM/Handle.hpp"
6
7
DM_NAMESPACE_BEGIN
8
9
/// \brief Simple text object
10
/**
11
For transporting text (=strings) from inside the DM to the outside, handling the life time problem
12
*/
13
class
DM_API
IText
:
public
ObjectBase
14
{
15
public
:
16
static
IText
* New(
const
char
* msg);
17
18
protected
:
19
virtual
~
IText
() {}
20
21
public
:
22
virtual
const
char
* c_str()
const
= 0;
23
virtual
IText
&operator=(
const
char
*) = 0;
24
};
25
26
typedef
Handle<IText>
TextHandle
;
27
28
DM_NAMESPACE_END
DM::IText
Simple text object.
Definition:
IText.hpp:13
DM::Handle
Smart pointer class using reference counting with support for DM objects (see ObjectBase)
Definition:
Handle.hpp:75
DM::ObjectBase
Definition:
M/c++_api/inc/DM/ObjectBase.hpp:8