FreeFem 3.5.x
Public Member Functions | Public Attributes | List of all members
fem::ident Class Reference

#include <femIdentifier.hpp>

Public Member Functions

 ident ()
 Typedefs. More...
 
 ident (ident const &)
 copy constructor More...
 
 ~ident ()
 destructor More...
 
identoperator= (ident const &)
 copy operator More...
 

Public Attributes

char * name
 
Symbol symb
 
creal value
 
crealtable
 

Detailed Description

Author
Christophe Prud'homme prudh.nosp@m.omm@.nosp@m.users.nosp@m..sou.nosp@m.rcefo.nosp@m.rge..nosp@m.net
Version
Id
femIdentifier.hpp,v 1.3 2001/07/12 15:15:39 delpinux Exp

Constructor & Destructor Documentation

◆ ident() [1/2]

fem::ident::ident ( )

Typedefs.

Constructors, destructor and methods default constructor

43 :
44 name ( 0 ),
45 symb ( lpar ),
46 value ( 0 ),
47 table ( 0 )
48 {
49 }

◆ ident() [2/2]

fem::ident::ident ( ident const &  i)

copy constructor

51 :
52 name( new char[strlen(i.name) + 1] ),
53 symb( i.symb ),
54 value( i.value ),
55 table( new creal )
56 {
57 strcpy( name, i.name );
58 *table = *i.table;
59 }

◆ ~ident()

fem::ident::~ident ( )

destructor

61 {
62 }

Member Function Documentation

◆ operator=()

ident & fem::ident::operator= ( ident const &  i)

copy operator

65 {
66 if ( &i != this )
67 {
68 name = new char[strlen(i.name) + 1];
69 symb = i.symb;
70 value = i.value;
71 table = new creal;
72
73 strcpy( name, i.name );
74 *table = *i.table;
75 }
76
77 return *this;
78
79 }

The documentation for this class was generated from the following files:

This is the FreeFEM reference manual
Provided by The KFEM project