#include <coherence/util/processor/PropertyManipulator.hpp>
Inherits Object, ValueManipulator, and PortableObject.
Public Types | |
typedef spec::Handle | Handle |
PropertyManipulator Handle definition. | |
typedef spec::View | View |
PropertyManipulator View definition. | |
typedef spec::Holder | Holder |
PropertyManipulator Holder definition. | |
Public Member Functions | |
virtual ValueExtractor::View | getExtractor () const |
Retrieve the underlying ValueExtractor reference.
| |
virtual ValueUpdater::View | getUpdater () const |
Retrieve the underlying ValueUpdater reference.
| |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual bool | equals (Object::View v) const |
virtual size32_t | hashCode () const |
Return a hash code value for the Object. This method is supported for the benefit of hash-based containers.
The general contract of
The default implementation is identity based.
| |
Public Attributes | |
FinalView< String > | f_vsName |
The property name, never null. | |
bool | m_fUseIs |
The getter prefix flag. | |
FinalView < ValueExtractor > | f_vExtractorPart |
A partial ValueExtractor used for composite properties. | |
FinalView < ValueExtractor > | f_vExtractor |
The underlying ValueExtractor. | |
FinalView< ValueUpdater > | f_vUpdater |
The underlying ValueUpdater. | |
Protected Member Functions | |
PropertyManipulator () | |
Construct a PropertyManipulator. | |
PropertyManipulator (String::View vsName, bool fUseIs=false) | |
Construct a PropertyManipulator for the specified property name. | |
void | init () const |
Parse the property name and initialize necessary extractor and updator. |
PropertyManipulator | ( | String::View | vsName, | |
bool | fUseIs = false | |||
) | [protected] |
Construct a PropertyManipulator for the specified property name.
This constructor assumes that the corresponding property getter will have a name of either ("get" + sName) or ("is + sName) and the corresponding property setter's name will be ("set + sName).
vsName | a property name | |
fUseIs | if true, the getter method will be prefixed with "is" rather than "get" |