cpplatex
 All Classes Functions Pages
Public Member Functions | Protected Attributes | Friends | List of all members
latex::doc::Subsection Class Reference

#include <latex.hpp>

Public Member Functions

 Subsection (const std::string &title)
 
Subsectionoperator<< (const char *val)
 
Subsectionoperator<< (const std::string &val)
 
template<typename T , typename std::enable_if< can_stringify< T >::value, bool >::type = 0>
Subsectionoperator<< (const T &val)
 
template<typename T , typename std::enable_if< can_latex< T >::value, char >::type = 0>
Subsectionoperator<< (const T &val)
 

Protected Attributes

std::string title
 
std::vector< std::string > content
 

Friends

std::ostream & operator<< (std::ostream &os, const Subsection &sub)
 

Detailed Description

Defines a subsection (

Supports streaming in (sub << "my string") and streaming out (section << sub).

Alternatively, use Section::add_subsection(...).


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