Combine DAS with DDS information for a dataset
Combine DAS with DDS information for a dataset. The DDS is used to find the structure of the dataset (something that the DAS currently lacks). An instance of this class is first initialized using a DDS (which must contain variables meeting certain requirements described later) and then information is transferred from the dataset's DAS. Children of this class can then write this information, etc. The class also has methods which can remove extra variables currently added to the DDS by some servers and which can add a #size# attribute to a variable (whcih provides a way for other programs to learn about the dimensionality of a variable without first working with the DDS. This class depends on the DDS containing variables which inherit from both the DODS variable types (Byte, ..., Grid) and AttrTable. Methods of this class move information from the AttrTable objects of the DAS to the AttrTable objects of the variables in the DDS. In this way the structure of the attributes mirrors that of the dataset's author. This class' design is a test of the more general idea of combining the information currently spread between the DAS and DDS objects.
MetadataProcessing()
void transfer_attr(DAS &das, BaseType &bt)
void add_global_attributes(DAS &das, string global_cont_name)
global - \_cont\_name The name to give the additional variable
which will hold the global attributes. MetadataProcessing(DDS &dds)
void transfer_attributes(DAS &das)
alphabetic index hierarchy of classes
generated by doc++