libIntegra
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
integra_api::IRenameCommand Class Reference

Command to rename nodes. More...

#include "api/command.h"

Inheritance diagram for integra_api::IRenameCommand:
Inheritance graph
[legend]
Collaboration diagram for integra_api::IRenameCommand:
Collaboration graph
[legend]

Static Public Member Functions

static IRenameCommandcreate (const CPath &path, const string &new_name)
 Create an instance of IRenameCommand. More...
 

Additional Inherited Members

- Public Member Functions inherited from integra_api::ICommand
virtual CError execute (integra_internal::CServer &server, CCommandSource source, CCommandResult *result)=0
 Internal use only.
 

Detailed Description

Command to rename nodes.

Member Function Documentation

static IRenameCommand* integra_api::IRenameCommand::create ( const CPath path,
const string &  new_name 
)
static

Create an instance of IRenameCommand.

Parameters
paththe node to rename
stringnew name for the node. Must be unique within siblings, must only use characters within CStringHelper::node_name_character_set
Returns
a pointer to the command, created on the heap.

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