source: branches/1.5/src/objects/RpString.h @ 6218

Last change on this file since 6218 was 5679, checked in by ldelgass, 9 years ago

Full merge 1.3 branch to uq branch to sync. Fixed partial subdirectory merge
by removing mergeinfo from lang/python/Rappture directory.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/*
2 * ======================================================================
3 *  AUTHOR:  Derrick Kearney, Purdue University
4 *  Copyright (c) 2004-2012  HUBzero Foundation, LLC
5 *
6 *  See the file "license.terms" for information on usage and
7 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8 * ======================================================================
9 */
10#include <errno.h>
11#include "RpObject.h"
12
13#ifndef RAPPTURE_STRING_H
14#define RAPPTURE_STRING_H
15
16namespace Rappture {
17
18class String : public Object
19{
20public:
21
22    String  ( const char *path,
23              const char *val);
24
25    String  ( const char *path,
26              const char *val,
27              const char *label,
28              const char *desc,
29              const char *hints,
30              size_t width,
31              size_t height);
32
33    String  ( const String& o );
34    virtual ~String ();
35
36    Accessor<const char *> def;
37    Accessor<const char *> cur;
38    Accessor<size_t> width;
39    Accessor<size_t> height;
40
41    const char *xml(size_t indent, size_t tabstop);
42    const int is() const;
43
44private:
45
46};
47
48} // namespace Rappture
49
50/*--------------------------------------------------------------------------*/
51/*--------------------------------------------------------------------------*/
52
53#endif // RAPPTURE_STRING_H
Note: See TracBrowser for help on using the repository browser.