egami
C++ Image Processing program
Public Member Functions | Static Public Member Functions | Static Private Attributes
Display_catalogue Class Reference

Manages the display zone. More...

#include <catalogue.hpp>

Inheritance diagram for Display_catalogue:
Inheritance graph
[legend]
Collaboration diagram for Display_catalogue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Display_catalogue ()
void open_image (const std::string &filepath)
 Opens a image in a new tab.
void undo_current ()
void redo_current ()
bool save ()
void save_as (const std::string &)

Static Public Member Functions

static std::shared_ptr
< Display_page
current_page ()
 Returns a shared_ptr to the current page.
static std::vector
< std::shared_ptr
< Display_unit > > 
all_units ()
static void add_page (const std::string &title, Display_unit *unit)

Static Private Attributes

static Display_catalogueinstance

Detailed Description

Manages the display zone.

Definition at line 76 of file catalogue.hpp.


Constructor & Destructor Documentation

Display_catalogue::Display_catalogue ( )

Definition at line 15 of file catalogue.cpp.


Member Function Documentation

void Display_catalogue::add_page ( const std::string &  title,
Display_unit unit 
) [static]

Definition at line 52 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< std::shared_ptr< Display_unit > > Display_catalogue::all_units ( ) [static]

Definition at line 74 of file catalogue.cpp.

Here is the caller graph for this function:

std::shared_ptr< Display_page > Display_catalogue::current_page ( ) [static]

Returns a shared_ptr to the current page.

Definition at line 65 of file catalogue.cpp.

Here is the caller graph for this function:

void Display_catalogue::open_image ( const std::string &  filepath)

Opens a image in a new tab.

Parameters:
filepaththe path of the file to be opened

Definition at line 19 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Display_catalogue::redo_current ( )

Definition at line 42 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Display_catalogue::save ( )

Definition at line 82 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Display_catalogue::save_as ( const std::string &  fp)

Definition at line 89 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Display_catalogue::undo_current ( )

Definition at line 32 of file catalogue.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 101 of file catalogue.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends