00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00020 #ifndef SHALGEBRA_HPP
00021 #define SHALGEBRA_HPP
00022
00023 #include <string>
00024 #include "ShDllExport.hpp"
00025 #include "ShProgram.hpp"
00026 #include "ShSyntax.hpp"
00027 #include "ShAttrib.hpp"
00028
00029 namespace SH {
00030
00037 SH_DLLEXPORT
00038 ShProgram connect(ShProgram a, ShProgram b);
00039
00045 SH_DLLEXPORT
00046 ShProgram combine(ShProgram a, ShProgram b);
00047
00061 SH_DLLEXPORT
00062 ShProgram namedCombine(ShProgram a, ShProgram b);
00063
00073 SH_DLLEXPORT
00074 ShProgram namedConnect(ShProgram a, ShProgram b, bool keepExtra = false );
00075
00078 SH_DLLEXPORT
00079 ShProgram renameInput(ShProgram a, const std::string& oldName, const std::string& newName);
00080
00083 SH_DLLEXPORT
00084 ShProgram renameOutput(ShProgram a, const std::string& oldName, const std::string& newName);
00085
00090 SH_DLLEXPORT
00091 ShProgram namedAlign(ShProgram a, ShProgram b);
00092
00097 SH_DLLEXPORT
00098 ShProgram replaceVariable(ShProgram a, const ShVariable &var);
00099
00102 SH_DLLEXPORT
00103 ShProgram operator&(ShProgram a, ShProgram b);
00104
00107 SH_DLLEXPORT
00108 ShProgram operator<<(ShProgram a, ShProgram b);
00109
00112 SH_DLLEXPORT
00113 ShProgram operator>>(ShProgram p, const ShVariable &var);
00114
00120 SH_DLLEXPORT
00121 ShProgram operator<<(ShProgram a, const ShVariable& var);
00122
00123 }
00124
00125 #endif