Writes information about Anatomist state in a file or pipe.
More...
#include <anatomist/commands/cGetInfo.h>
|
| GetInfoCommand (const std::string &filename, CommandContext *context=&CommandContext::defaultContext(), bool objects=false, bool windows=false, bool refs=false, bool trans=false, bool palettes=false, const std::string &nameobj="", bool namewin=false, bool selects=false, bool link=false, Referential *linkref=0, bool nameref=false, bool nametrans=false, const std::string &requestid="", bool version=false, bool listcommands=false, bool aimsinfo=false, bool modinfo=false) |
|
virtual | ~GetInfoCommand () |
|
virtual std::string | name () const |
| Return the unique name of a class of commands. More...
|
|
virtual void | write (Tree &com, Serializer *ser) const |
| Print the guts of a command into a Tree given as parent. More...
|
|
carto::Object | result () |
|
Public Member Functions inherited from anatomist::RegularCommand |
virtual | ~RegularCommand () |
| Destructor does nothing. More...
|
|
Public Member Functions inherited from anatomist::Command |
virtual | ~Command () |
| Destructor does nothing. More...
|
|
virtual void | execute () |
| Execute the command - may use {\tt doit()}. More...
|
|
virtual void | undo () |
| Undo the command - may use {\tt undoit()}. More...
|
|
virtual void | redo () |
| Redo the command - may use {\tt doit()}. More...
|
|
Public Member Functions inherited from anatomist::SerializingCommand |
virtual | ~SerializingCommand () |
|
CommandContext * | context () |
|
const CommandContext * | context () const |
|
Writes information about Anatomist state in a file or pipe.
Definition at line 57 of file cGetInfo.h.
◆ GetInfoCommand()
anatomist::GetInfoCommand::GetInfoCommand |
( |
const std::string & |
filename, |
|
|
CommandContext * |
context = &CommandContext::defaultContext() , |
|
|
bool |
objects = false , |
|
|
bool |
windows = false , |
|
|
bool |
refs = false , |
|
|
bool |
trans = false , |
|
|
bool |
palettes = false , |
|
|
const std::string & |
nameobj = "" , |
|
|
bool |
namewin = false , |
|
|
bool |
selects = false , |
|
|
bool |
link = false , |
|
|
Referential * |
linkref = 0 , |
|
|
bool |
nameref = false , |
|
|
bool |
nametrans = false , |
|
|
const std::string & |
requestid = "" , |
|
|
bool |
version = false , |
|
|
bool |
listcommands = false , |
|
|
bool |
aimsinfo = false , |
|
|
bool |
modinfo = false |
|
) |
| |
◆ ~GetInfoCommand()
virtual anatomist::GetInfoCommand::~GetInfoCommand |
( |
| ) |
|
|
virtual |
◆ doit()
virtual void anatomist::GetInfoCommand::doit |
( |
| ) |
|
|
protectedvirtual |
◆ name()
virtual std::string anatomist::GetInfoCommand::name |
( |
| ) |
const |
|
inlinevirtual |
◆ result()
◆ write()
virtual void anatomist::GetInfoCommand::write |
( |
Tree & |
com, |
|
|
Serializer * |
ser |
|
) |
| const |
|
virtual |
◆ StdModule
The documentation for this class was generated from the following file: