Property Class Reference

#include <Property.h>

Inheritance diagram for Property:
TProperty< T >

List of all members.

Public Types

enum  Type {
  UNKNOWNTYPE, BOOL, INT, FLOAT,
  DOUBLE, STRING, INTVECTOR, FLOATVECTOR,
  STRINGVECTOR, TOOLHANDLE, TOOLHANDLEARRAY
}
 

Property type enumeration.


typedef std::vector< int > IntVector
 Convenience type declaration for an integer vector.
typedef std::vector< float > FloatVector
 Convenience type declaration for a float vector.
typedef std::vector< std::string > StringVector
 Convenience type declaration for a string vector.

Public Member Functions

 Property ()
 Default constructor.
 Property (Type type)
 Constructor with a type.
virtual ~Property ()
 Destructor.
bool isValid () const
Type type () const
 Return the type index.
const std::string & typeName () const
 Return the type name.
virtual int setFrom (const Property &rhs)

Static Public Member Functions

static const std::string & name (Type type)
 Function returning a user-readable name for a property type.

Detailed Description

Support class for PropertyMgr

Base class for all property types that can be set on a tool.

Author:
David Adams <dladams@bnl.gov>
Revision
612908
Date
2014-08-21 18:19:03 +0200 (Thu, 21 Aug 2014)

Member Function Documentation

bool Property::isValid (  )  const

Return if this is a valid property. Must have a known type.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1