CppTemplate  1.0.4.0
C++ Template Library
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Member Functions | List of all members
CppTemplate::Template Class Reference

Template class. More...

#include <class.h>

Public Member Functions

 Template (int filed) noexcept
 Default class constructor. More...
 
 Template (const Template &) noexcept=default
 
 Template (Template &&) noexcept=default
 
 ~Template () noexcept=default
 
Templateoperator= (const Template &) noexcept=default
 
Templateoperator= (Template &&) noexcept=default
 
int field () const noexcept
 Get field value. More...
 
int Method (int parameter) const noexcept
 Some method. More...
 

Static Public Member Functions

static int StaticMethod (int parameter) noexcept
 Some static method. More...
 

Detailed Description

Template class.

Template class details.

Thread-safe.

Examples
template_class.cpp.

Definition at line 20 of file class.h.

Constructor & Destructor Documentation

◆ Template() [1/3]

CppTemplate::Template::Template ( int  filed)
inlineexplicitnoexcept

Default class constructor.

Parameters
filed- Filed value

Definition at line 27 of file class.h.

◆ Template() [2/3]

CppTemplate::Template::Template ( const Template )
defaultnoexcept

◆ Template() [3/3]

CppTemplate::Template::Template ( Template &&  )
defaultnoexcept

◆ ~Template()

CppTemplate::Template::~Template ( )
defaultnoexcept

Member Function Documentation

◆ field()

int CppTemplate::Template::field ( ) const
inlinenoexcept

Get field value.

Examples
template_class.cpp.

Definition at line 36 of file class.h.

◆ Method()

int CppTemplate::Template::Method ( int  parameter) const
noexcept

Some method.

Parameters
parameter- Method parameter
Returns
Method result
Examples
template_class.cpp.

Definition at line 15 of file class.cpp.

◆ operator=() [1/2]

Template& CppTemplate::Template::operator= ( const Template )
defaultnoexcept

◆ operator=() [2/2]

Template& CppTemplate::Template::operator= ( Template &&  )
defaultnoexcept

◆ StaticMethod()

int CppTemplate::Template::StaticMethod ( int  parameter)
inlinestaticnoexcept

Some static method.

Parameters
parameter- Static method parameter
Returns
Static method result
Examples
template_class.cpp.

Definition at line 11 of file class.inl.


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