dbus-cxx logo
variant.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2009,2010 by Rick L. Vinyard, Jr. *
3  * rvinyard@cs.nmsu.edu *
4  * *
5  * This file is part of the dbus-cxx library. *
6  * *
7  * The dbus-cxx library is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU General Public License *
9  * version 3 as published by the Free Software Foundation. *
10  * *
11  * The dbus-cxx library is distributed in the hope that it will be *
12  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14  * General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this software. If not see <http://www.gnu.org/licenses/>. *
18  ***************************************************************************/
19 
20 #ifndef DBUS_CXX_VARIANT
21 #define DBUS_CXX_VARIANT
22 
23 namespace DBus{
24 
32 template <class T>
33 class Variant{
34  public:
35 
36  T data;
38  data = 0;
39  }
40 
41  Variant( T& idata ){
42  data = idata;
43  }
44 
45 };
46 
47 }
48 
49 #endif
Variant(T &idata)
Definition: variant.h:41
Definition: accumulators.h:24
A Variant is a type of DBus object that can be one of several different types of normal DBus object...
Definition: variant.h:33
Variant()
Definition: variant.h:37
T data
Definition: variant.h:36

Generated on Sun Mar 19 2017 14:54:27 for dbus-cxx by doxygen 1.8.8