Implement missing constructor NcCompoundType(const NcType& ncType), fixes Jira issue NCXXF-8

This commit is contained in:
Russ Rew 2012-08-28 19:13:36 +00:00
parent 22f5cacaf5
commit a9387d320c

View File

@ -66,6 +66,15 @@ NcCompoundType::NcCompoundType(const NcGroup& grp, const string& name):
NcType(grp,name)
{
}
// constructor
// The copy constructor.
NcCompoundType::NcCompoundType(const NcType& rhs):
NcType()
{
// assign base class parts
NcType::operator=(rhs);
}
// Inserts a named field.
void NcCompoundType::addMember(const string& memberName, const NcType& newMemberType,size_t offset)