OpenASIP  2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EntryKeyFieldProperty Class Reference

#include <EntryKeyFieldProperty.hh>

Collaboration diagram for EntryKeyFieldProperty:
Collaboration graph

Public Member Functions

 EntryKeyFieldProperty (std::string type, const EntryKeyProperty *entry)
 
 ~EntryKeyFieldProperty ()
 
std::string name () const
 
std::string entryName () const
 

Private Member Functions

 EntryKeyFieldProperty (const EntryKeyFieldProperty &)
 Copying not allowed. More...
 
EntryKeyFieldPropertyoperator= (const EntryKeyFieldProperty &)
 Assignment not allowed. More...
 

Private Attributes

std::string name_
 Field type. More...
 
const EntryKeyPropertyparent_
 Entry type in which the field belongs to. More...
 

Detailed Description

Represents a type of field.

For each EntryKeyField an EntryKeyFieldProperty should be assigned.

Definition at line 47 of file EntryKeyFieldProperty.hh.

Constructor & Destructor Documentation

◆ EntryKeyFieldProperty() [1/2]

EntryKeyFieldProperty::EntryKeyFieldProperty ( std::string  type,
const EntryKeyProperty entry 
)

Constructor.

Parameters
typeField type.
entryEntry type in which the field belongs to.

Definition at line 46 of file EntryKeyFieldProperty.cc.

48  :
49  name_(type), parent_(entry) {
50 }

◆ ~EntryKeyFieldProperty()

EntryKeyFieldProperty::~EntryKeyFieldProperty ( )

Destructor.

Definition at line 55 of file EntryKeyFieldProperty.cc.

55  {
56 }

◆ EntryKeyFieldProperty() [2/2]

EntryKeyFieldProperty::EntryKeyFieldProperty ( const EntryKeyFieldProperty )
private

Copying not allowed.

Member Function Documentation

◆ entryName()

std::string EntryKeyFieldProperty::entryName ( ) const

Returns entry type of the field.

Returns
Entry type of the field.

Definition at line 64 of file EntryKeyFieldProperty.cc.

64  {
65  return parent_->name();
66 }

References EntryKeyProperty::name(), and parent_.

Here is the call graph for this function:

◆ name()

std::string EntryKeyFieldProperty::name ( ) const

◆ operator=()

EntryKeyFieldProperty& EntryKeyFieldProperty::operator= ( const EntryKeyFieldProperty )
private

Assignment not allowed.

Member Data Documentation

◆ name_

std::string EntryKeyFieldProperty::name_
private

Field type.

Definition at line 56 of file EntryKeyFieldProperty.hh.

◆ parent_

const EntryKeyProperty* EntryKeyFieldProperty::parent_
private

Entry type in which the field belongs to.

Definition at line 58 of file EntryKeyFieldProperty.hh.

Referenced by entryName().


The documentation for this class was generated from the following files:
EntryKeyFieldProperty::parent_
const EntryKeyProperty * parent_
Entry type in which the field belongs to.
Definition: EntryKeyFieldProperty.hh:58
EntryKeyFieldProperty::name_
std::string name_
Field type.
Definition: EntryKeyFieldProperty.hh:56
EntryKeyProperty::name
std::string name() const