#include <c4d_baselink.h>
Public Member Functions | |
| Bool | Init () | 
| void | Zap (Bool connect_oldgoals) | 
| void | SetAliasGoal (const GeAliasID &id, GeAliasGoal *goal) | 
Private Member Functions | |
| void | XSetGoalFromID (const GeAliasID &id, GeAliasGoal *goal) | 
| void | XSetAliasFromID (const GeAliasID &id, BaseLink *link, GeAliasGoal *old_goal) | 
| void | SetGoalFromID (const GeAliasID &id, GeAliasGoal *goal) | 
| void | SetAliasFromID (const GeAliasID &id, BaseLink *link, GeAliasGoal *old_goal) | 
Private Attributes | |
| GeAliasXTrans * | xtrans | 
Friends | |
| class | GeAliasGoal | 
| class | BaseLink | 
Constructor/Destructor | |
| AliasTrans () | |
| ~AliasTrans () | |
The alias translator class takes care about reconnecting BaseLink links when cloning, copying, reading or writing objects.
| AliasTrans | ( | ) | 
Default constructor.
| ~AliasTrans | ( | ) | 
Default destructor.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| Bool Init | ( | ) | 
Initializes the alias translator.
| void Zap | ( | Bool | connect_oldgoals | ) | 
Translates the links in all objects that the translator has come across.
| [in] | connect_oldgoals | Pass true to connect old goals. For example: Take a cube with an instance linked to this cube, select both and duplicate them in one action. The new cube is linked to the new instance if connect_oldgoals is true. If it is false the new instance is linked to the old cube.  | 
| void SetAliasGoal | ( | const GeAliasID & | id, | 
| GeAliasGoal * | goal | ||
| ) | 
Private.
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  private |