43 #define TXAPP_FULLNAME "Host Application"
44 #define TXHOST_CURR_CMDCTX "TXHOST_CURR_CMDCTX"
45 #define TXHOST_SETTINGS_NAME "TxHostStorage"
140 throw OdError(
"unknown function " + group +
"." +
func);
180 assign(dictionary);
return *
this;
184 return (
RXDIC*)RXDIC::createObject().
get();
190 dic = RXDIC::createObject();
198 if(nextdic.
isNull() && bCreateIfNotFound) {
199 nextdic = RXDIC::createObject();
208 nextdic = nextdic.
step(
WSTR(path[i]), bCreateIfNotFound);
236 if (dbName ==
"OdDbDatabase") {
239 else if (dbName ==
"OdDgDatabase") {
267 throw OdError(eUnknownFileType);
271 return sFmtBrdgAppName;
276 OdAnsiString asCmd(pAnsi);
287 dstBuf.
reserve(lenStr * 4 + 1);
289 OdAnsiString asRes = (
const char*) dstBuf.
asArrayPtr();
FIRSTDLL_EXPORT OdRxDynamicLinker * odrxDynamicLinker()
FIRSTDLL_EXPORT OdEdCommandStackPtr odedRegCmds()
#define GETBIT(flags, bit)
FIRSTDLL_EXPORT OdRxDictionary * odrxSysRegistry()
void reserve(size_type reserveLength)
const T * asArrayPtr() const
static void unicodeToUtf8(const OdChar *srcBuf, int srcSize, OdAnsiCharArray &dstBuf)
static void utf8ToUnicode(const char *srcBuf, int srcSize, OdCharArray &dstBuf)
virtual OdRxObject * baseDatabase()=0
virtual OdRxObjectPtr arbitraryData(const OdString &szPathName) const =0
virtual void setArbitraryData(const OdString &szPathName, OdRxObject *pDataObj)=0
virtual OdEdFunctionIO * funcIO()=0
virtual void execute(OdEdCommandContext *pCommandContext)=0
virtual OdRxObjectPtr result()=0
virtual void setParam(OdRxObject *pParamObj)=0
virtual void setResult(OdRxObject *pResultObj)=0
virtual const OdString name() const =0
virtual OdUInt32 idAt(const OdString &key) const =0
virtual OdRxObjectPtr getAt(const OdString &key) const =0
virtual OdRxObjectPtr remove(const OdString &key)=0
virtual OdRxObjectPtr putAt(const OdString &key, OdRxObject *pObject, OdUInt32 *pRetId=0)=0
virtual OdRxModulePtr loadApp(const OdString &applicationName, bool silent=true)=0
virtual OdRxClass * isA() const
void assign(const OdRxDictionary *pObject)
const OdChar * c_str() const
int iCompare(const OdChar *otherString) const
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
RXPTR callFn(CMDCTX *ctx)
HRXCMD(WSTRREF func, int lookup=kCmdGlobal|kCmdLocal|kCmdThrowUnknown, WSTRREF group=WSTR::kEmpty)
void execute(CMDCTX *ctx)
RXPTR getAt(WSTRREF name)
HRXDIC stepCr(WSTRREF name)
HRXDIC walk(const PATH &path, bool bCreateIfNotFound=false)
RXPTR putAt(WSTRREF name, RXOBJ *obj)
HRXDIC step(WSTRREF name, bool bCreateIfNotFound=false)
HRXDIC & operator=(const RXOBJ *dictionary)
RXPTR remove(WSTRREF alias)
HRXDIC walkCr(const PATH &path)
static HRXDIC arbDataOpen(CMDCTX *cmdctx, WSTRREF name, bool bCreateIfNotFound=false)
GLuint const GLchar * name
GLint GLint GLint GLsizei GLsizei GLenum format
OdString ctxByFileExtension(const OdString &sExt)
OdRxDictionaryIteratorPtr RXDICITERPTR
RXPTR arbVarSafe(OdEdCommandContext *ctx, const WSTR &varName)
OdString getDbCtxName(OdEdCommandContext *ctx)
OdRxDictionaryPtr RXDICPTR
OdRxDictionaryIterator RXDICITER
OdAnsiString toUtf8(const OdString &sUnicode)
OdEdCommandContext CMDCTX
OdEdCommandContextPtr CMDCTXPTR
OdRxObjectPtrArray RXPTRARR
OdString toUtf16(const char *pAnsi)