DGtal 2.1.0
Loading...
Searching...
No Matches
DByClone Struct Reference

Public Member Functions

 DByClone (Clone< A1 > a)
 
int value () const
 

Data Fields

A1 myA1
 

Detailed Description

Definition at line 103 of file testCloneAndAliases.cpp.

Constructor & Destructor Documentation

◆ DByClone()

DByClone::DByClone ( Clone< A1 a)
inline

Definition at line 104 of file testCloneAndAliases.cpp.

105 : myA1( a )
106 {
107 std::cout << " DByClone( Clone<A1> a) " << std::endl;
108 }

Member Function Documentation

◆ value()

int DByClone::value ( ) const
inline

Definition at line 110 of file testCloneAndAliases.cpp.

111 {
112 return myA1.data;
113 }

References A1::data, and myA1.

Field Documentation

◆ myA1

A1 DByClone::myA1

Definition at line 115 of file testCloneAndAliases.cpp.

Referenced by value().


The documentation for this struct was generated from the following file: