Public Member Functions | Public Attributes | Friends | List of all members
CustomType< Scalar > Struct Template Reference

Public Member Functions

 CustomType ()
 
 CustomType (const Scalar &value)
 
 operator Scalar () const
 
bool operator!= (const CustomType &other) const
 
CustomType operator* (const CustomType &other) const
 
void operator*= (const CustomType &other)
 
CustomType operator+ (const CustomType &other) const
 
void operator+= (const CustomType &other)
 
CustomType operator- (const CustomType &other) const
 
CustomType operator- () const
 
void operator-= (const CustomType &other)
 
CustomType operator/ (const CustomType &other) const
 
void operator/= (const CustomType &other)
 
bool operator< (const CustomType &other) const
 
bool operator<= (const CustomType &other) const
 
void operator= (const Scalar &value)
 
bool operator== (const CustomType &other) const
 
bool operator> (const CustomType &other) const
 
bool operator>= (const CustomType &other) const
 
std::string print () const
 

Public Attributes

Scalar m_value
 

Friends

std::ostream & operator<< (std::ostream &os, const CustomType &X)
 

Detailed Description

template<typename Scalar>
struct CustomType< Scalar >

Definition at line 13 of file user_type.cpp.

Constructor & Destructor Documentation

◆ CustomType() [1/2]

template<typename Scalar >
CustomType< Scalar >::CustomType ( )
inline

Definition at line 62 of file user_type.cpp.

◆ CustomType() [2/2]

template<typename Scalar >
CustomType< Scalar >::CustomType ( const Scalar &  value)
inlineexplicit

Definition at line 64 of file user_type.cpp.

Member Function Documentation

◆ operator Scalar()

template<typename Scalar >
CustomType< Scalar >::operator Scalar ( ) const
inline

Definition at line 108 of file user_type.cpp.

◆ operator!=()

template<typename Scalar >
bool CustomType< Scalar >::operator!= ( const CustomType< Scalar > &  other) const
inline

Definition at line 89 of file user_type.cpp.

◆ operator*()

template<typename Scalar >
CustomType CustomType< Scalar >::operator* ( const CustomType< Scalar > &  other) const
inline

Definition at line 66 of file user_type.cpp.

◆ operator*=()

template<typename Scalar >
void CustomType< Scalar >::operator*= ( const CustomType< Scalar > &  other)
inline

Definition at line 81 of file user_type.cpp.

◆ operator+()

template<typename Scalar >
CustomType CustomType< Scalar >::operator+ ( const CustomType< Scalar > &  other) const
inline

Definition at line 69 of file user_type.cpp.

◆ operator+=()

template<typename Scalar >
void CustomType< Scalar >::operator+= ( const CustomType< Scalar > &  other)
inline

Definition at line 79 of file user_type.cpp.

◆ operator-() [1/2]

template<typename Scalar >
CustomType CustomType< Scalar >::operator- ( const CustomType< Scalar > &  other) const
inline

Definition at line 72 of file user_type.cpp.

◆ operator-() [2/2]

template<typename Scalar >
CustomType CustomType< Scalar >::operator- ( ) const
inline

Definition at line 106 of file user_type.cpp.

◆ operator-=()

template<typename Scalar >
void CustomType< Scalar >::operator-= ( const CustomType< Scalar > &  other)
inline

Definition at line 80 of file user_type.cpp.

◆ operator/()

template<typename Scalar >
CustomType CustomType< Scalar >::operator/ ( const CustomType< Scalar > &  other) const
inline

Definition at line 75 of file user_type.cpp.

◆ operator/=()

template<typename Scalar >
void CustomType< Scalar >::operator/= ( const CustomType< Scalar > &  other)
inline

Definition at line 82 of file user_type.cpp.

◆ operator<()

template<typename Scalar >
bool CustomType< Scalar >::operator< ( const CustomType< Scalar > &  other) const
inline

Definition at line 96 of file user_type.cpp.

◆ operator<=()

template<typename Scalar >
bool CustomType< Scalar >::operator<= ( const CustomType< Scalar > &  other) const
inline

Definition at line 93 of file user_type.cpp.

◆ operator=()

template<typename Scalar >
void CustomType< Scalar >::operator= ( const Scalar &  value)
inline

Definition at line 84 of file user_type.cpp.

◆ operator==()

template<typename Scalar >
bool CustomType< Scalar >::operator== ( const CustomType< Scalar > &  other) const
inline

Definition at line 86 of file user_type.cpp.

◆ operator>()

template<typename Scalar >
bool CustomType< Scalar >::operator> ( const CustomType< Scalar > &  other) const
inline

Definition at line 102 of file user_type.cpp.

◆ operator>=()

template<typename Scalar >
bool CustomType< Scalar >::operator>= ( const CustomType< Scalar > &  other) const
inline

Definition at line 99 of file user_type.cpp.

◆ print()

template<typename Scalar >
std::string CustomType< Scalar >::print ( ) const
inline

Definition at line 110 of file user_type.cpp.

Friends And Related Function Documentation

◆ operator<<

template<typename Scalar >
std::ostream& operator<< ( std::ostream &  os,
const CustomType< Scalar > &  X 
)
friend

Definition at line 116 of file user_type.cpp.

Member Data Documentation

◆ m_value

template<typename Scalar >
Scalar CustomType< Scalar >::m_value

Definition at line 123 of file user_type.cpp.


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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:27