TProperty< T > Class Template Reference

#include <TProperty.h>

Inheritance diagram for TProperty< T >:
Property

List of all members.

Public Member Functions

 TProperty (T &val, Type type)
 Constructor from a reference and a type.
const Tpointer () const
 Return the address of the property variable.
virtual int setFrom (const Property &rhs)
 Set value using that from another property.
virtual StatusCode getString (std::string &result) const
 get the property as a string
virtual StatusCode setString (const std::string &value)
 set the property from a string
template<>
int setFrom (const Property &rhs)
Declare specialization(s) for TProperty::setFrom



template<>
int setFrom (const Property &rhs)

Detailed Description

template<typename T>
class TProperty< T >

Templated wrapper around user properties

This class is used to wrap user-defined tool properties, to be able to set them through the PropertyMgr.

Author:
David Adams <dladams@bnl.gov>
Revision
802972
Date
2017-04-15 20:13:17 +0200 (Sat, 15 Apr 2017)

Member Function Documentation

template<typename T >
StatusCode TProperty< T >::getString ( std::string &  result  )  const [inline, virtual]

get the property as a string

Guarantee
strong
Failures
no string conversion available

Reimplemented from Property.

template<typename T >
StatusCode TProperty< T >::setString ( const std::string &  value  )  [inline, virtual]

set the property from a string

Guarantee
basic
Failures
no string conversion available
format errors

Reimplemented from Property.


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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1