PanoCommand::LoadPTProjectCmd Class Reference

dump the current project and load a new one. More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::LoadPTProjectCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LoadPTProjectCmd (HuginBase::Panorama &p, const std::string &filename, const std::string &prefix="")
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

const std::stringfilename
const std::stringprefix

Detailed Description

dump the current project and load a new one.

Use this for style projects.

Definition at line 435 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::LoadPTProjectCmd::LoadPTProjectCmd ( HuginBase::Panorama p,
const std::string filename,
const std::string prefix = "" 
)

Definition at line 320 of file PanoCommand.cpp.

References PanoCommand::PanoCommand::m_clearDirty.


Member Function Documentation

virtual std::string PanoCommand::LoadPTProjectCmd::getName (  )  const [inline, virtual]

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 440 of file PanoCommand.h.

bool PanoCommand::LoadPTProjectCmd::processPanorama ( HuginBase::Panorama pano  )  [virtual]

Called by execute().

The default implementation does nothing and returns true. Should return false when the processing was unsuccessful.

Reimplemented from PanoCommand::PanoCommand.

Definition at line 326 of file PanoCommand.cpp.

References DEBUG_ERROR, filename, HuginBase::Panorama::readData(), and AppBase::DocumentData::SUCCESSFUL.


Member Data Documentation

const std::string& PanoCommand::LoadPTProjectCmd::filename [private]

Definition at line 440 of file PanoCommand.h.

Referenced by processPanorama().

const std::string& PanoCommand::LoadPTProjectCmd::prefix [private]

Definition at line 443 of file PanoCommand.h.


The documentation for this class was generated from the following files:
Generated on 20 Apr 2018 for Hugintrunk by  doxygen 1.4.7