Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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.
 
 Child (const Child &kid_)
 Copy constructor for a Child object.
 
 ~Child ()
 Child object destructor.
 
Childoperator= (const Child &rhs_)
 Overloaded assignment operator for Child objects.
 

Public Attributes

std::unique_ptr< MenuGroupgroup
 Stores the child menu group.
 
std::unique_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

◆ Child() [1/2]

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

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

Author
GW
Date
09/2014

◆ Child() [2/2]

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

◆ ~Child()

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

Child object destructor.

Author
GW
Date
09/2014

Member Function Documentation

◆ operator=()

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_