Source
// upon how the object was constructed. The memory allocated to these pointers
//# AttValPoi.h: templated class for aliased AttributeValues
//# Copyright (C) 1996,1997,1999,2000,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id$
namespace casa { //# NAMESPACE CASA - BEGIN
// <summary>
// Templated class for storing a pointer to the value of an Attribute.
// </summary>
// <use visibility=local>
// <reviewed reviewer="" date="yyyy/mm/dd" tests="tAttribute" demos="">
// </reviewed>
// <prerequisite>
// <li> <linkto class="AttributeValue">AttributeValue</linkto>
// </prerequisite>
// <etymology>
// "AttributeValuePoi" is a contraction of "Attribute Value" and
// "Pointer", and stores a pointer to the value of an Attribute.
// </etymology>
// <synopsis>
// An AttributeValuePoi differs from a <linkto class="AttributeValue">
// AttributeValue</linkto> in that instead of using its own variable
// to store the actual value like AttributeValue does, it stores a
// pointer to the variable used in the constructor. This means that
// the AttributeValuePoi is just an alias to this variable, and then
// the user can modify the value of an AttributeValuePoi without using
// its interface. Alternatively, and perhaps more importantly, the