Public Member Functions
Base< elem_type, derived > Struct Template Reference

#include <Base_bones.hpp>

List of all members.

Public Member Functions

arma_inline const derived & get_ref () const
void print (const std::string extra_text="") const
void print (std::ostream &user_stream, const std::string extra_text="") const
arma_deprecated void print_trans (const std::string extra_text="") const
arma_deprecated void print_trans (std::ostream &user_stream, const std::string extra_text="") const
void raw_print (const std::string extra_text="") const
void raw_print (std::ostream &user_stream, const std::string extra_text="") const
arma_deprecated void raw_print_trans (const std::string extra_text="") const
arma_deprecated void raw_print_trans (std::ostream &user_stream, const std::string extra_text="") const
arma_inline const Op< derived,
op_strans
st () const
arma_inline const Op< derived,
op_htrans
t () const

Detailed Description

template<typename elem_type, typename derived>
struct Base< elem_type, derived >

Class for static polymorphism, modelled after the "Curiously Recurring Template Pattern" (CRTP). Used for type-safe downcasting in functions that restrict their input(s) to be classes that are derived from Base (e.g. Mat, Op, Glue, diagview, subview). A Base object can be converted to a Mat object by the unwrap class.

Definition at line 25 of file Base_bones.hpp.


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


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:07