test-view.cpp File Reference

LibNebular, Test for. More...

#include <libnebular.hpp>
#include <iostream>
#include <stdexcept>
#include <string>
#include <cstdlib>
#include <boost/shared_array.hpp>
#include <SDL/SDL.h>
#include "sdl-utils.hpp"
#include "config.h"
#include "utils.hpp"
#include <sstream>
#include <algorithm>
#include <boost/shared_ptr.hpp>
#include <libnebular-plugin.hpp>
Include dependency graph for test-view.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void display (Picture &pic, const string &caption="Some picture")
 With help of LibSDL, shows window with Picture pic with and caption caption and then waits for user input.
void listProperties (Picture &pic)
 Lists all String-valued properties of Picture (and hashes for Blob-s).
void warning (const std::string &message)
 Warning callback.
void info (const std::string &message)
 Info message callback.
int main (int argc, char **argv)

Detailed Description

LibNebular, Test for.

Copyright (C) 2011 Leonid Sadikov ⟨ leonius@inbox.ru

This file is part of LibNebular.

LibNebular is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation.

See "COPYING.LESSER" and "COPYING" in distribution or ⟨http://www.gnu.org/licenses/⟩ for full license text.

Author:
Leonid Sadikov ( leonius@inbox.ru )
Date:
Created: 23 Jun 2010

Test from SRS that are performed by this application:

Definition in file test-view.cpp.


Function Documentation

void display ( Picture pic,
const string &  caption = "Some picture" 
)

With help of LibSDL, shows window with Picture pic with and caption caption and then waits for user input.

Definition at line 46 of file test-view.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void info ( const std::string &  message  ) 

Info message callback.

Definition at line 106 of file test-view.cpp.

Here is the caller graph for this function:

void listProperties ( Picture pic  ) 

Lists all String-valued properties of Picture (and hashes for Blob-s).

Definition at line 82 of file test-view.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 110 of file test-view.cpp.

Here is the call graph for this function:

void warning ( const std::string &  message  ) 

Warning callback.

Definition at line 101 of file test-view.cpp.

Here is the caller graph for this function:

Generated on Sun May 29 18:23:53 2011 for libnebular by  doxygen 1.6.3