10 #define GROUPTABLE_H 1
12 #include "HDUCreator.h"
105 HDU * removeMember (LONGLONG memberNumber);
106 HDU * removeMember (
HDU & member);
119 LONGLONG getNumMembers ()
const ;
121 const String & getName ()
const ;
170 std::vector<HDU *> m_members;
174 LONGLONG m_numMembers;
188 friend class HDUCreator;
197 inline LONGLONG GroupTable::getNumMembers ()
const
202 inline int GroupTable::getID ()
const
208 inline const string & GroupTable::getName ()
const
Class representing a hierarchical association of Header Data Units (HDUs).
Definition: GroupTable.h:83
Base class for all HDU [Header-Data Unit] objects.
Definition: HDU.h:673
Memory object representation of a disk FITS file.
Definition: FITS.h:628
Class Representing Binary Table Extensions. Contains columns with scalar or vector row entries...
Definition: BinTable.h:130
void listMembers() const
List group members.
Definition: GroupTable.cxx:91
GroupTable(FITS *p, int groupID, const String &groupName)
ctor for creating a new group table
Definition: GroupTable.cxx:31
HDU * addMember(HDU &newMember)
Add a new member to the group table. Adds GRPIDn/GRPLCn keywords to the member HDU.
Definition: GroupTable.cxx:45