#include <c4d_baselink.h>
Private Member Functions | |
| BaseLink (const BaseLink &s) | |
| const BaseLink & | operator= (const BaseLink &s) | 
Private Attributes | |
| String * | cachepath | 
| GeAliasXLink * | xlink | 
| C4DAtom * | up_pointer | 
Friends | |
| class | GeAliasXGoal | 
| class | GeAliasXLink | 
| class | GeAliasXTrans | 
| struct | tagInExcludeElement | 
Constructor/Destructor | |
| BaseLink () | |
| virtual | ~BaseLink () | 
Alloc/Free | |
| static BaseLink * | Alloc () | 
| static void | Free (BaseLink *&ptr) | 
Read/Write | |
| Bool | Read (HyperFile *hf) | 
| Bool | Write (HyperFile *hf) | 
Clone/Copy | |
| virtual BaseLink * | GetClone (AliasTrans *aliastrans) const | 
| virtual void | CopyData (BaseLink *dest, AliasTrans *aliastrans) const | 
Link | |
| void | SetLink (GeListNode *bl) | 
| void * | GetLink () const | 
| void | Transfer (BaseLink *dest) | 
Private | |
| GeListNode * | GetLinkAtom (const BaseDocument *doc, Int32 instanceof=0) const | 
| void | XCopyData (BaseLink *dest, AliasTrans *aliastrans) const | 
| void | XSetLink (GeAliasGoal &org) | 
| void | SetLink (GeAliasGoal &org) | 
| GeAliasGoal * | GetLinkGoal () const | 
| GeAliasGoal * | XGetLinkGoal () const | 
| void | XRemoveLink () | 
| void | RemoveLink () | 
| void | GetAliasID (GeAliasID *id) const | 
| void | SetAliasID (const GeAliasID &id, AliasTrans &trans, GeAliasGoal *old_goal) | 
| Bool | IsCacheLink () const | 
| void | SetUpPointer (C4DAtom *up_pointer) | 
A dynamic link to a BaseList2D object.
A link can be easily stored in containers and saved to disk, and is even preserved when duplicating hierarchies. 
| BaseLink | ( | ) | 
Default constructor.
      
  | 
  virtual | 
Default destructor.
      
  | 
  static | 
Allocates an alias link. Destroy the allocated alias link with Free(). The allocated alias link, or nullptr if the allocation failed.
      
  | 
  static | 
Destructs alias links allocated with Alloc().
| [in,out] | ptr | The alias link to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. | 
Reads the alias link from a hyper file.
| [in] | hf | The hyper file to read from. The caller owns the pointed hyper file. | 
Writes the alias link to a hyper file.
| [in] | hf | The hyper file to write to. The caller owns the pointed hyper file. | 
      
  | 
  virtual | 
Gets a copy of the alias link.
| [in] | aliastrans | An alias translator for the operation. Can be nullptr. The caller owns the pointed alias link. | 
      
  | 
  virtual | 
Copies the link to dest.
| [out] | dest | The destination alias link. The caller owns the pointed alias link. | 
| [in] | aliastrans | An alias translator for the operation. Can be nullptr. The caller owns the pointed alias link. | 
| void SetLink | ( | GeListNode * | bl | ) | 
Sets the link to point to bl.
| [in] | bl | The new link. The caller owns the pointed list node. | 
| void* GetLink | ( | ) | const | 
Evaluates and gets the link in its document.
| void Transfer | ( | BaseLink * | dest | ) | 
Transfers the link to dest.
| [out] | dest | The destination alias link. The caller owns the pointed alias link. | 
| GeListNode* GetLinkAtom | ( | const BaseDocument * | doc, | 
| Int32 | instanceof = 0  | 
        ||
| ) | const | 
Private.
| void XCopyData | ( | BaseLink * | dest, | 
| AliasTrans * | aliastrans | ||
| ) | const | 
Private.
| void XSetLink | ( | GeAliasGoal & | org | ) | 
Private.
| void SetLink | ( | GeAliasGoal & | org | ) | 
Private.
| GeAliasGoal* GetLinkGoal | ( | ) | const | 
Private.
| GeAliasGoal* XGetLinkGoal | ( | ) | const | 
Private.
| void XRemoveLink | ( | ) | 
Private.
| void RemoveLink | ( | ) | 
Private.
| void GetAliasID | ( | GeAliasID * | id | ) | const | 
Private.
| void SetAliasID | ( | const GeAliasID & | id, | 
| AliasTrans & | trans, | ||
| GeAliasGoal * | old_goal | ||
| ) | 
Private.
| Bool IsCacheLink | ( | ) | const | 
Private.
| void SetUpPointer | ( | C4DAtom * | up_pointer | ) | 
Private.
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |