Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
Public Member Functions | Public Attributes | List of all members
hdi::core::MenuGroup::Child Struct Reference

Menu groups can have both groups and items as children, so this acts as a simple wrapper to store one or the other. More...

#include <hdicoreMenuGroup.h>

Public Member Functions

 Child ()
 Constructs a new Child object with neither a group nor item. More...
 
 Child (const Child &kid_)
 Copy constructor for a Child object. More...
 
 ~Child ()
 Child object destructor. More...
 
Childoperator= (const Child &rhs_)
 Overloaded assignment operator for Child objects. More...
 

Public Attributes

std::auto_ptr< MenuGroupgroup
 Stores the child menu group.
 
std::auto_ptr< MenuItemitem
 Stores the child menu item.
 

Detailed Description

Menu groups can have both groups and items as children, so this acts as a simple wrapper to store one or the other.

Constructor & Destructor Documentation

hdi::core::MenuGroup::Child::Child ( )

Constructs a new Child object with neither a group nor item.

Author
GW
Date
09/2014
hdi::core::MenuGroup::Child::Child ( const Child kid_)

Copy constructor for a Child object.

Author
GW
Date
09/2014
Parameters
kid_Existing Child object to copy a group or item from
hdi::core::MenuGroup::Child::~Child ( )

Child object destructor.

Author
GW
Date
09/2014

Member Function Documentation

Child& hdi::core::MenuGroup::Child::operator= ( const Child rhs_)

Overloaded assignment operator for Child objects.

Author
GW
Date
09/2014
Parameters
rhs_Righthand side of the assignment operator; existing Child object to copy values from
Returns
The target Child object, but with its members updated to match that of rhs_