Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
ODemo::Body Class Reference

#include <Body.h>

Collaboration diagram for ODemo::Body:
Collaboration graph

Public Member Functions

 Body (std::string color="blue")
 Constructor. More...
 
 Body (Body const &ori)
 Copy constructor. More...
 
 Body (Body &&ori) noexcept
 Move constructor. More...
 
Bodyoperator= (Body const &rhs)
 Copy assingment. More...
 
Bodyoperator= (Body &&rhs) noexcept
 Move assingment. More...
 
 ~Body ()
 Destructor. More...
 
Body operator+ (const Body &b)
 Weird operation. More...
 

Private Attributes

std::string m_color
 

Detailed Description

Definition at line 14 of file Body.h.

Constructor & Destructor Documentation

ODemo::Body::Body ( std::string  color = "blue")
explicit

Constructor.

Definition at line 14 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER.

Referenced by operator+().

Here is the caller graph for this function:

ODemo::Body::Body ( Body const &  ori)

Copy constructor.

Definition at line 16 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER.

ODemo::Body::Body ( Body &&  ori)
noexcept

Move constructor.

Definition at line 18 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER.

ODemo::Body::~Body ( )

Destructor.

Definition at line 39 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER.

Member Function Documentation

Body & ODemo::Body::operator= ( Body const &  rhs)

Copy assingment.

Definition at line 20 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER, and m_color.

Body & ODemo::Body::operator= ( Body &&  rhs)
noexcept

Move assingment.

Definition at line 29 of file Body.cpp.

References COMP_MISC_MEMBER_TRACER, and m_color.

Body ODemo::Body::operator+ ( const Body b)

Weird operation.

Definition at line 41 of file Body.cpp.

References Body(), COMP_MISC_MEMBER_TRACER, and m_color.

Here is the call graph for this function:

Member Data Documentation

std::string ODemo::Body::m_color
private

Definition at line 39 of file Body.h.

Referenced by operator+(), and operator=().


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