1 |
Douglas Thrift |
109 |
// Bender |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#ifndef _Bender_hpp_ |
8 |
|
|
#define _Bender_hpp_ |
9 |
|
|
|
10 |
|
|
#include <xalanc/Include/PlatformDefinitions.hpp> |
11 |
|
|
#include <xercesc/util/PlatformUtils.hpp> |
12 |
|
|
#include <xalanc/XalanTransformer/XalanTransformer.hpp> |
13 |
|
|
|
14 |
|
|
#include <iostream> |
15 |
|
|
#include <string> |
16 |
|
|
|
17 |
|
|
using namespace std; |
18 |
|
|
|
19 |
|
|
XALAN_USING_XERCES(XMLPlatformUtils) |
20 |
|
|
XALAN_USING_XALAN(XalanTransformer) |
21 |
|
|
|
22 |
|
|
inline string sgetenv(const string& name) |
23 |
|
|
{ |
24 |
|
|
char* value = getenv(name.c_str()); |
25 |
|
|
|
26 |
|
|
return value != NULL ? value : ""; |
27 |
|
|
} |
28 |
|
|
|
29 |
|
|
class Bender |
30 |
|
|
{ |
31 |
|
|
private: |
32 |
|
|
// |
33 |
|
|
public: |
34 |
|
|
Bender(); |
35 |
|
|
~Bender() {} |
36 |
|
|
}; |
37 |
|
|
|
38 |
|
|
#endif // _Bender_hpp_ |