|
Public Member Functions |
| UIDocument (std::string _name) |
virtual | ~UIDocument () |
virtual void | load () |
virtual void | loadXML (xmlNodePtr root) |
virtual void | loadFromMemory (const char *mem, int size) |
void | setCategory (const std::string &cat) |
const std::string & | getCategory () |
void | setComments (const std::string &comments) |
const std::string & | getComments () |
void | setModified () |
void | resetModified () |
bool | isModified () |
UINetwork * | addNetwork (std::string name, UINetwork::Type type) |
UINetwork * | addNetwork (xmlNodePtr xmlNet) |
void | removeNetwork (UINetwork *toRemove) |
bool | isUntitled () |
virtual const std::string & | getName () |
const std::string & | getPath () |
virtual void | save () |
char * | saveToMemory (int &size) |
void | addParameterText (std::string name, std::string value, std::string type) |
UINetwork * | getNetworkNamed (const std::string &n) |
std::vector< ItemInfo * > | getNetInputs (const std::string &netName) |
std::vector< ItemInfo * > | getNetOutputs (const std::string &netName) |
std::vector< ItemInfo * > | getNetParams (const std::string &netName) |
std::string | getDescription (const std::string &type) |
void | printOn (std::ostream &out=std::cout) const |
std::vector< UINetwork * > | get_networks () |
std::vector< DocParameterDataText * > | get_textParams () |
virtual UINetwork * | newNetwork (const std::string &_name, UINetwork::Type type) |
virtual UINetwork * | newNetwork (xmlNodePtr _net) |
Network * | build (const std::string &_name, const ParameterSet ¶ms) |
std::set< std::string > | genCode (std::ostream &out, const std::string &functName, bool localIncludes=false) |
void | exportNetwork (const std::string &networkName, const std::string &fileName) |
void | importNetwork (const std::string &fileName) |
virtual void | run () |
virtual void | run (ParameterSet &p) |
virtual void | setFullPath (const std::string &fullpath) |
void | updateNetInfo (UINetwork *net) |
void | updateAllNetworks () |
virtual void | updateAllSubnetTerminals (const std::string _nettype, const std::string _terminalname, UINetTerminal::NetTermType _terminaltype, bool _remove) |
UINodeRepository & | getRepository () |
Static Public Member Functions |
static Network * | buildExternal (const std::string &type, const std::string &_name, const ParameterSet ¶ms) |
static std::string | findExternal (const std::string &filename, char *searchPath="FLOWDESIGNER_PATH", bool include_home=true, bool fullPathOutput=true) |
static void | genCodeExternal (const std::string &type, std::ostream &out, int &id, std::set< std::string > &nodeList) |
Protected Member Functions |
virtual void | error (char *err) |
Protected Attributes |
std::vector< UINetwork * > | networks |
bool | modified |
UINodeRepository | subnetInfo |
std::vector< DocParameterDataText * > | textParams |
std::vector< ParameterText * > | docInputs |
std::vector< ParameterText * > | docOutputs |
std::vector< ParameterText * > | docParams |
std::string | docName |
std::string | path |
bool | untitled |
bool | destroyed |
std::string | category |
std::string | m_comments |