VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
VIBUtils.h
Go to the documentation of this file.
1
10
#ifndef VIBUTILS_H__
11
#define VIBUTILS_H__
12
13
#include <string>
14
#include "../vibstring.h"
15
#include "
classVIBError.h
"
16
17
static
inline
std::string ElideVIBString(
VIBString
*vstr)
18
{
19
std::string ret;
20
21
if
(!vstr)
22
throw
VIB::Error
(
"Failed to get string property value"
);
23
24
ret =
VIBString_CStr
(vstr);
25
VIBString_Destroy
(vstr);
26
return
ret;
27
}
28
29
#endif
30
31
// EOF
32
VIB
VIBUtils.h
Generated on Thu Jun 20 2013 10:46:26 for VisualIB by
1.8.2