PVStructure inline access to member variables
This commit is contained in:
@@ -60,9 +60,7 @@ PVStructure::PVStructure(StructureConstPtr const & structurePtr,
|
||||
}
|
||||
}
|
||||
|
||||
PVStructure::~PVStructure()
|
||||
{
|
||||
}
|
||||
PVStructure::~PVStructure() {}
|
||||
|
||||
void PVStructure::setImmutable()
|
||||
{
|
||||
@@ -74,16 +72,6 @@ void PVStructure::setImmutable()
|
||||
PVField::setImmutable();
|
||||
}
|
||||
|
||||
const StructureConstPtr& PVStructure::getStructure() const
|
||||
{
|
||||
return structurePtr;
|
||||
}
|
||||
|
||||
const PVFieldPtrArray & PVStructure::getPVFields() const
|
||||
{
|
||||
return pvFields;
|
||||
}
|
||||
|
||||
PVFieldPtr PVStructure::getSubFieldImpl(size_t fieldOffset, bool throws) const
|
||||
{
|
||||
const PVStructure *current = this;
|
||||
|
||||
@@ -747,12 +747,12 @@ public:
|
||||
* Get the introspection interface
|
||||
* @return The interface.
|
||||
*/
|
||||
const StructureConstPtr &getStructure() const;
|
||||
inline const StructureConstPtr &getStructure() const { return structurePtr; }
|
||||
/**
|
||||
* Get the array of pointers to the subfields in the structure.
|
||||
* @return The array.
|
||||
*/
|
||||
const PVFieldPtrArray & getPVFields() const;
|
||||
inline const PVFieldPtrArray & getPVFields() const { return pvFields; }
|
||||
|
||||
/**
|
||||
* Get the subfield with the specified offset.
|
||||
|
||||
Reference in New Issue
Block a user