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

#include <latex.hpp>

Public Member Functions

 Section (const std::string &title, bool new_page=false)
 
Sectionoperator<< (const char *val)
 
Sectionoperator<< (const std::string &val)
 
Sectionoperator<< (const Subsection &val)
 
template<typename T , typename = typename std::enable_if<can_stringify<T>::value>::type>
Sectionoperator<< (const T &val)
 
void build (std::ostream &os) const
 
std::string latex () const
 
void add_subsection (const Subsection &sub)
 

Protected Attributes

bool new_page
 
std::string title
 
std::vector< Subsectionsubs
 
std::vector< std::string > leading_content
 

Friends

std::ostream & operator<< (std::ostream &os, const Section &sect)
 

Detailed Description

Defines a section (


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