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 operator- (const CustomType &other) 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 65 of file user_type.cpp.

◆ CustomType() [2/2]

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

Definition at line 67 of file user_type.cpp.

Member Function Documentation

◆ operator Scalar()

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

Definition at line 111 of file user_type.cpp.

◆ operator!=()

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

Definition at line 92 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 84 of file user_type.cpp.

◆ operator+()

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

Definition at line 72 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-() [1/2]

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

Definition at line 109 of file user_type.cpp.

◆ operator-() [2/2]

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 83 of file user_type.cpp.

◆ operator/()

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

Definition at line 78 of file user_type.cpp.

◆ operator/=()

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

Definition at line 85 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.

◆ 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 >
void CustomType< Scalar >::operator= ( const Scalar &  value)
inline

Definition at line 87 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 >
bool CustomType< Scalar >::operator> ( const CustomType< Scalar > &  other) const
inline

Definition at line 105 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.

◆ print()

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

Definition at line 113 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 119 of file user_type.cpp.

Member Data Documentation

◆ m_value

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

Definition at line 126 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 Sat Nov 2 2024 02:14:45