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

Public Member Functions

 DByValue (A1 a)
 
int value () const
 

Data Fields

A1 myA1
 

Detailed Description

Definition at line 86 of file testCloneAndAliases.cpp.

Constructor & Destructor Documentation

◆ DByValue()

DByValue::DByValue ( A1  a)
inline

Definition at line 87 of file testCloneAndAliases.cpp.

88 : myA1( a )
89 {
90 std::cout << " DByValue( A1 a) " << std::endl;
91 }

Member Function Documentation

◆ value()

int DByValue::value ( ) const
inline

Definition at line 93 of file testCloneAndAliases.cpp.

94 {
95 return myA1.data;
96 }

References A1::data, and myA1.

Referenced by main().

Field Documentation

◆ myA1

A1 DByValue::myA1

Definition at line 98 of file testCloneAndAliases.cpp.

Referenced by value().


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