| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519 |
- // Created by Microsoft (R) C/C++ Compiler Version 10.00.30319.01 (8483a3e9).
- //
- // e:\zproject\code\middleware-slwy\ivr\debug\msxml6.tli
- //
- // Wrapper implementations for Win32 type library msxml6.dll
- // compiler-generated file created 07/03/17 at 17:15:29 - DO NOT EDIT!
- #pragma once
- //
- // interface IXMLDOMImplementation wrapper method implementations
- //
- inline VARIANT_BOOL IXMLDOMImplementation::hasFeature ( _bstr_t feature, _bstr_t version ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_hasFeature(feature, version, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IXMLDOMParseError wrapper method implementations
- //
- inline long IXMLDOMParseError::GeterrorCode ( ) {
- long _result = 0;
- HRESULT _hr = get_errorCode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXMLDOMParseError::Geturl ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_url(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMParseError::Getreason ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_reason(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMParseError::GetsrcText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_srcText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline long IXMLDOMParseError::Getline ( ) {
- long _result = 0;
- HRESULT _hr = get_line(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXMLDOMParseError::Getlinepos ( ) {
- long _result = 0;
- HRESULT _hr = get_linepos(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXMLDOMParseError::Getfilepos ( ) {
- long _result = 0;
- HRESULT _hr = get_filepos(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISAXEntityResolver wrapper method implementations
- //
- inline _variant_t ISAXEntityResolver::resolveEntity ( unsigned short * pwchPublicId, unsigned short * pwchSystemId ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_resolveEntity(pwchPublicId, pwchSystemId, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface ISAXLocator wrapper method implementations
- //
- inline int ISAXLocator::getColumnNumber ( ) {
- int _result = 0;
- HRESULT _hr = raw_getColumnNumber(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline int ISAXLocator::getLineNumber ( ) {
- int _result = 0;
- HRESULT _hr = raw_getLineNumber(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline unsigned short * ISAXLocator::getPublicId ( ) {
- unsigned short * _result = 0;
- HRESULT _hr = raw_getPublicId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline unsigned short * ISAXLocator::getSystemId ( ) {
- unsigned short * _result = 0;
- HRESULT _hr = raw_getSystemId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISAXAttributes wrapper method implementations
- //
- inline int ISAXAttributes::getLength ( ) {
- int _result = 0;
- HRESULT _hr = raw_getLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT ISAXAttributes::getURI ( int nIndex, unsigned short * * ppwchUri, int * pcchUri ) {
- HRESULT _hr = raw_getURI(nIndex, ppwchUri, pcchUri);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getLocalName ( int nIndex, unsigned short * * ppwchLocalName, int * pcchLocalName ) {
- HRESULT _hr = raw_getLocalName(nIndex, ppwchLocalName, pcchLocalName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getQName ( int nIndex, unsigned short * * ppwchQName, int * pcchQName ) {
- HRESULT _hr = raw_getQName(nIndex, ppwchQName, pcchQName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getName ( int nIndex, unsigned short * * ppwchUri, int * pcchUri, unsigned short * * ppwchLocalName, int * pcchLocalName, unsigned short * * ppwchQName, int * pcchQName ) {
- HRESULT _hr = raw_getName(nIndex, ppwchUri, pcchUri, ppwchLocalName, pcchLocalName, ppwchQName, pcchQName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline int ISAXAttributes::getIndexFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName ) {
- int _result = 0;
- HRESULT _hr = raw_getIndexFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline int ISAXAttributes::getIndexFromQName ( unsigned short * pwchQName, int cchQName ) {
- int _result = 0;
- HRESULT _hr = raw_getIndexFromQName(pwchQName, cchQName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT ISAXAttributes::getType ( int nIndex, unsigned short * * ppwchType, int * pcchType ) {
- HRESULT _hr = raw_getType(nIndex, ppwchType, pcchType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getTypeFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchType, int * pcchType ) {
- HRESULT _hr = raw_getTypeFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchType, pcchType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getTypeFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchType, int * pcchType ) {
- HRESULT _hr = raw_getTypeFromQName(pwchQName, cchQName, ppwchType, pcchType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getValue ( int nIndex, unsigned short * * ppwchValue, int * pcchValue ) {
- HRESULT _hr = raw_getValue(nIndex, ppwchValue, pcchValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getValueFromName ( unsigned short * pwchUri, int cchUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * * ppwchValue, int * pcchValue ) {
- HRESULT _hr = raw_getValueFromName(pwchUri, cchUri, pwchLocalName, cchLocalName, ppwchValue, pcchValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXAttributes::getValueFromQName ( unsigned short * pwchQName, int cchQName, unsigned short * * ppwchValue, int * pcchValue ) {
- HRESULT _hr = raw_getValueFromQName(pwchQName, cchQName, ppwchValue, pcchValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXContentHandler wrapper method implementations
- //
- inline HRESULT ISAXContentHandler::putDocumentLocator ( struct ISAXLocator * pLocator ) {
- HRESULT _hr = raw_putDocumentLocator(pLocator);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::startDocument ( ) {
- HRESULT _hr = raw_startDocument();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::endDocument ( ) {
- HRESULT _hr = raw_endDocument();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) {
- HRESULT _hr = raw_startPrefixMapping(pwchPrefix, cchPrefix, pwchUri, cchUri);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::endPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix ) {
- HRESULT _hr = raw_endPrefixMapping(pwchPrefix, cchPrefix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::startElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName, struct ISAXAttributes * pAttributes ) {
- HRESULT _hr = raw_startElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName, pAttributes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::endElement ( unsigned short * pwchNamespaceUri, int cchNamespaceUri, unsigned short * pwchLocalName, int cchLocalName, unsigned short * pwchQName, int cchQName ) {
- HRESULT _hr = raw_endElement(pwchNamespaceUri, cchNamespaceUri, pwchLocalName, cchLocalName, pwchQName, cchQName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::characters ( unsigned short * pwchChars, int cchChars ) {
- HRESULT _hr = raw_characters(pwchChars, cchChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::ignorableWhitespace ( unsigned short * pwchChars, int cchChars ) {
- HRESULT _hr = raw_ignorableWhitespace(pwchChars, cchChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::processingInstruction ( unsigned short * pwchTarget, int cchTarget, unsigned short * pwchData, int cchData ) {
- HRESULT _hr = raw_processingInstruction(pwchTarget, cchTarget, pwchData, cchData);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXContentHandler::skippedEntity ( unsigned short * pwchName, int cchName ) {
- HRESULT _hr = raw_skippedEntity(pwchName, cchName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXDTDHandler wrapper method implementations
- //
- inline HRESULT ISAXDTDHandler::notationDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
- HRESULT _hr = raw_notationDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXDTDHandler::unparsedEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId, unsigned short * pwchNotationName, int cchNotationName ) {
- HRESULT _hr = raw_unparsedEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId, pwchNotationName, cchNotationName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXErrorHandler wrapper method implementations
- //
- inline HRESULT ISAXErrorHandler::error ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
- HRESULT _hr = raw_error(pLocator, pwchErrorMessage, hrErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXErrorHandler::fatalError ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
- HRESULT _hr = raw_fatalError(pLocator, pwchErrorMessage, hrErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXErrorHandler::ignorableWarning ( struct ISAXLocator * pLocator, unsigned short * pwchErrorMessage, HRESULT hrErrorCode ) {
- HRESULT _hr = raw_ignorableWarning(pLocator, pwchErrorMessage, hrErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXXMLReader wrapper method implementations
- //
- inline VARIANT_BOOL ISAXXMLReader::getFeature ( unsigned short * pwchName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_getFeature(pwchName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT ISAXXMLReader::putFeature ( unsigned short * pwchName, VARIANT_BOOL vfValue ) {
- HRESULT _hr = raw_putFeature(pwchName, vfValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _variant_t ISAXXMLReader::getProperty ( unsigned short * pwchName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getProperty(pwchName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT ISAXXMLReader::putProperty ( unsigned short * pwchName, const _variant_t & varValue ) {
- HRESULT _hr = raw_putProperty(pwchName, varValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline ISAXEntityResolverPtr ISAXXMLReader::getEntityResolver ( ) {
- struct ISAXEntityResolver * _result = 0;
- HRESULT _hr = raw_getEntityResolver(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISAXEntityResolverPtr(_result, false);
- }
- inline HRESULT ISAXXMLReader::putEntityResolver ( struct ISAXEntityResolver * pResolver ) {
- HRESULT _hr = raw_putEntityResolver(pResolver);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline ISAXContentHandlerPtr ISAXXMLReader::getContentHandler ( ) {
- struct ISAXContentHandler * _result = 0;
- HRESULT _hr = raw_getContentHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISAXContentHandlerPtr(_result, false);
- }
- inline HRESULT ISAXXMLReader::putContentHandler ( struct ISAXContentHandler * pHandler ) {
- HRESULT _hr = raw_putContentHandler(pHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline ISAXDTDHandlerPtr ISAXXMLReader::getDTDHandler ( ) {
- struct ISAXDTDHandler * _result = 0;
- HRESULT _hr = raw_getDTDHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISAXDTDHandlerPtr(_result, false);
- }
- inline HRESULT ISAXXMLReader::putDTDHandler ( struct ISAXDTDHandler * pHandler ) {
- HRESULT _hr = raw_putDTDHandler(pHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline ISAXErrorHandlerPtr ISAXXMLReader::getErrorHandler ( ) {
- struct ISAXErrorHandler * _result = 0;
- HRESULT _hr = raw_getErrorHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISAXErrorHandlerPtr(_result, false);
- }
- inline HRESULT ISAXXMLReader::putErrorHandler ( struct ISAXErrorHandler * pHandler ) {
- HRESULT _hr = raw_putErrorHandler(pHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline unsigned short * ISAXXMLReader::getBaseURL ( ) {
- unsigned short * _result = 0;
- HRESULT _hr = raw_getBaseURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT ISAXXMLReader::putBaseURL ( unsigned short * pwchBaseUrl ) {
- HRESULT _hr = raw_putBaseURL(pwchBaseUrl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline unsigned short * ISAXXMLReader::getSecureBaseURL ( ) {
- unsigned short * _result = 0;
- HRESULT _hr = raw_getSecureBaseURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT ISAXXMLReader::putSecureBaseURL ( unsigned short * pwchSecureBaseUrl ) {
- HRESULT _hr = raw_putSecureBaseURL(pwchSecureBaseUrl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXXMLReader::parse ( const _variant_t & varInput ) {
- HRESULT _hr = raw_parse(varInput);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXXMLReader::parseURL ( unsigned short * pwchUrl ) {
- HRESULT _hr = raw_parseURL(pwchUrl);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXXMLFilter wrapper method implementations
- //
- inline ISAXXMLReaderPtr ISAXXMLFilter::getParent ( ) {
- struct ISAXXMLReader * _result = 0;
- HRESULT _hr = raw_getParent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISAXXMLReaderPtr(_result, false);
- }
- inline HRESULT ISAXXMLFilter::putParent ( struct ISAXXMLReader * pReader ) {
- HRESULT _hr = raw_putParent(pReader);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXLexicalHandler wrapper method implementations
- //
- inline HRESULT ISAXLexicalHandler::startDTD ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
- HRESULT _hr = raw_startDTD(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::endDTD ( ) {
- HRESULT _hr = raw_endDTD();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::startEntity ( unsigned short * pwchName, int cchName ) {
- HRESULT _hr = raw_startEntity(pwchName, cchName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::endEntity ( unsigned short * pwchName, int cchName ) {
- HRESULT _hr = raw_endEntity(pwchName, cchName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::startCDATA ( ) {
- HRESULT _hr = raw_startCDATA();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::endCDATA ( ) {
- HRESULT _hr = raw_endCDATA();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXLexicalHandler::comment ( unsigned short * pwchChars, int cchChars ) {
- HRESULT _hr = raw_comment(pwchChars, cchChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISAXDeclHandler wrapper method implementations
- //
- inline HRESULT ISAXDeclHandler::elementDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchModel, int cchModel ) {
- HRESULT _hr = raw_elementDecl(pwchName, cchName, pwchModel, cchModel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXDeclHandler::attributeDecl ( unsigned short * pwchElementName, int cchElementName, unsigned short * pwchAttributeName, int cchAttributeName, unsigned short * pwchType, int cchType, unsigned short * pwchValueDefault, int cchValueDefault, unsigned short * pwchValue, int cchValue ) {
- HRESULT _hr = raw_attributeDecl(pwchElementName, cchElementName, pwchAttributeName, cchAttributeName, pwchType, cchType, pwchValueDefault, cchValueDefault, pwchValue, cchValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXDeclHandler::internalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchValue, int cchValue ) {
- HRESULT _hr = raw_internalEntityDecl(pwchName, cchName, pwchValue, cchValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT ISAXDeclHandler::externalEntityDecl ( unsigned short * pwchName, int cchName, unsigned short * pwchPublicId, int cchPublicId, unsigned short * pwchSystemId, int cchSystemId ) {
- HRESULT _hr = raw_externalEntityDecl(pwchName, cchName, pwchPublicId, cchPublicId, pwchSystemId, cchSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXEntityResolver wrapper method implementations
- //
- inline _variant_t IVBSAXEntityResolver::resolveEntity ( BSTR * strPublicId, BSTR * strSystemId ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_resolveEntity(strPublicId, strSystemId, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface IVBSAXLocator wrapper method implementations
- //
- inline int IVBSAXLocator::GetcolumnNumber ( ) {
- int _result = 0;
- HRESULT _hr = get_columnNumber(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline int IVBSAXLocator::GetlineNumber ( ) {
- int _result = 0;
- HRESULT _hr = get_lineNumber(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IVBSAXLocator::GetpublicId ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_publicId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXLocator::GetsystemId ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_systemId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVBSAXAttributes wrapper method implementations
- //
- inline int IVBSAXAttributes::Getlength ( ) {
- int _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IVBSAXAttributes::getURI ( int nIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getURI(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getLocalName ( int nIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getLocalName(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getQName ( int nIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getQName(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline int IVBSAXAttributes::getIndexFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
- int _result = 0;
- HRESULT _hr = raw_getIndexFromName(strURI, strLocalName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline int IVBSAXAttributes::getIndexFromQName ( _bstr_t strQName ) {
- int _result = 0;
- HRESULT _hr = raw_getIndexFromQName(strQName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IVBSAXAttributes::getType ( int nIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getType(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getTypeFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getTypeFromName(strURI, strLocalName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getTypeFromQName ( _bstr_t strQName ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getTypeFromQName(strQName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getValue ( int nIndex ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getValue(nIndex, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getValueFromName ( _bstr_t strURI, _bstr_t strLocalName ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getValueFromName(strURI, strLocalName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IVBSAXAttributes::getValueFromQName ( _bstr_t strQName ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getValueFromQName(strQName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IVBSAXContentHandler wrapper method implementations
- //
- inline void IVBSAXContentHandler::PutRefdocumentLocator ( struct IVBSAXLocator * _arg1 ) {
- HRESULT _hr = putref_documentLocator(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline HRESULT IVBSAXContentHandler::startDocument ( ) {
- HRESULT _hr = raw_startDocument();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::endDocument ( ) {
- HRESULT _hr = raw_endDocument();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::startPrefixMapping ( BSTR * strPrefix, BSTR * strURI ) {
- HRESULT _hr = raw_startPrefixMapping(strPrefix, strURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::endPrefixMapping ( BSTR * strPrefix ) {
- HRESULT _hr = raw_endPrefixMapping(strPrefix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::startElement ( BSTR * strNamespaceURI, BSTR * strLocalName, BSTR * strQName, struct IVBSAXAttributes * oAttributes ) {
- HRESULT _hr = raw_startElement(strNamespaceURI, strLocalName, strQName, oAttributes);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::endElement ( BSTR * strNamespaceURI, BSTR * strLocalName, BSTR * strQName ) {
- HRESULT _hr = raw_endElement(strNamespaceURI, strLocalName, strQName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::characters ( BSTR * strChars ) {
- HRESULT _hr = raw_characters(strChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::ignorableWhitespace ( BSTR * strChars ) {
- HRESULT _hr = raw_ignorableWhitespace(strChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::processingInstruction ( BSTR * strTarget, BSTR * strData ) {
- HRESULT _hr = raw_processingInstruction(strTarget, strData);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXContentHandler::skippedEntity ( BSTR * strName ) {
- HRESULT _hr = raw_skippedEntity(strName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXDTDHandler wrapper method implementations
- //
- inline HRESULT IVBSAXDTDHandler::notationDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
- HRESULT _hr = raw_notationDecl(strName, strPublicId, strSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXDTDHandler::unparsedEntityDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId, BSTR * strNotationName ) {
- HRESULT _hr = raw_unparsedEntityDecl(strName, strPublicId, strSystemId, strNotationName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXErrorHandler wrapper method implementations
- //
- inline HRESULT IVBSAXErrorHandler::error ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
- HRESULT _hr = raw_error(oLocator, strErrorMessage, nErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXErrorHandler::fatalError ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
- HRESULT _hr = raw_fatalError(oLocator, strErrorMessage, nErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXErrorHandler::ignorableWarning ( struct IVBSAXLocator * oLocator, BSTR * strErrorMessage, long nErrorCode ) {
- HRESULT _hr = raw_ignorableWarning(oLocator, strErrorMessage, nErrorCode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXXMLReader wrapper method implementations
- //
- inline VARIANT_BOOL IVBSAXXMLReader::getFeature ( _bstr_t strName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_getFeature(strName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IVBSAXXMLReader::putFeature ( _bstr_t strName, VARIANT_BOOL fValue ) {
- HRESULT _hr = raw_putFeature(strName, fValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _variant_t IVBSAXXMLReader::getProperty ( _bstr_t strName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getProperty(strName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT IVBSAXXMLReader::putProperty ( _bstr_t strName, const _variant_t & varValue ) {
- HRESULT _hr = raw_putProperty(strName, varValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IVBSAXEntityResolverPtr IVBSAXXMLReader::GetentityResolver ( ) {
- struct IVBSAXEntityResolver * _result = 0;
- HRESULT _hr = get_entityResolver(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXEntityResolverPtr(_result, false);
- }
- inline void IVBSAXXMLReader::PutRefentityResolver ( struct IVBSAXEntityResolver * oResolver ) {
- HRESULT _hr = putref_entityResolver(oResolver);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IVBSAXContentHandlerPtr IVBSAXXMLReader::GetcontentHandler ( ) {
- struct IVBSAXContentHandler * _result = 0;
- HRESULT _hr = get_contentHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXContentHandlerPtr(_result, false);
- }
- inline void IVBSAXXMLReader::PutRefcontentHandler ( struct IVBSAXContentHandler * oHandler ) {
- HRESULT _hr = putref_contentHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IVBSAXDTDHandlerPtr IVBSAXXMLReader::GetdtdHandler ( ) {
- struct IVBSAXDTDHandler * _result = 0;
- HRESULT _hr = get_dtdHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXDTDHandlerPtr(_result, false);
- }
- inline void IVBSAXXMLReader::PutRefdtdHandler ( struct IVBSAXDTDHandler * oHandler ) {
- HRESULT _hr = putref_dtdHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IVBSAXErrorHandlerPtr IVBSAXXMLReader::GeterrorHandler ( ) {
- struct IVBSAXErrorHandler * _result = 0;
- HRESULT _hr = get_errorHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXErrorHandlerPtr(_result, false);
- }
- inline void IVBSAXXMLReader::PutReferrorHandler ( struct IVBSAXErrorHandler * oHandler ) {
- HRESULT _hr = putref_errorHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _bstr_t IVBSAXXMLReader::GetbaseURL ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_baseURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IVBSAXXMLReader::PutbaseURL ( _bstr_t strBaseURL ) {
- HRESULT _hr = put_baseURL(strBaseURL);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _bstr_t IVBSAXXMLReader::GetsecureBaseURL ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_secureBaseURL(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IVBSAXXMLReader::PutsecureBaseURL ( _bstr_t strSecureBaseURL ) {
- HRESULT _hr = put_secureBaseURL(strSecureBaseURL);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline HRESULT IVBSAXXMLReader::parse ( const _variant_t & varInput ) {
- HRESULT _hr = raw_parse(varInput);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXXMLReader::parseURL ( _bstr_t strURL ) {
- HRESULT _hr = raw_parseURL(strURL);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXXMLFilter wrapper method implementations
- //
- inline IVBSAXXMLReaderPtr IVBSAXXMLFilter::Getparent ( ) {
- struct IVBSAXXMLReader * _result = 0;
- HRESULT _hr = get_parent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXXMLReaderPtr(_result, false);
- }
- inline void IVBSAXXMLFilter::PutRefparent ( struct IVBSAXXMLReader * oReader ) {
- HRESULT _hr = putref_parent(oReader);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IVBSAXLexicalHandler wrapper method implementations
- //
- inline HRESULT IVBSAXLexicalHandler::startDTD ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
- HRESULT _hr = raw_startDTD(strName, strPublicId, strSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::endDTD ( ) {
- HRESULT _hr = raw_endDTD();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::startEntity ( BSTR * strName ) {
- HRESULT _hr = raw_startEntity(strName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::endEntity ( BSTR * strName ) {
- HRESULT _hr = raw_endEntity(strName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::startCDATA ( ) {
- HRESULT _hr = raw_startCDATA();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::endCDATA ( ) {
- HRESULT _hr = raw_endCDATA();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXLexicalHandler::comment ( BSTR * strChars ) {
- HRESULT _hr = raw_comment(strChars);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IVBSAXDeclHandler wrapper method implementations
- //
- inline HRESULT IVBSAXDeclHandler::elementDecl ( BSTR * strName, BSTR * strModel ) {
- HRESULT _hr = raw_elementDecl(strName, strModel);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXDeclHandler::attributeDecl ( BSTR * strElementName, BSTR * strAttributeName, BSTR * strType, BSTR * strValueDefault, BSTR * strValue ) {
- HRESULT _hr = raw_attributeDecl(strElementName, strAttributeName, strType, strValueDefault, strValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXDeclHandler::internalEntityDecl ( BSTR * strName, BSTR * strValue ) {
- HRESULT _hr = raw_internalEntityDecl(strName, strValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBSAXDeclHandler::externalEntityDecl ( BSTR * strName, BSTR * strPublicId, BSTR * strSystemId ) {
- HRESULT _hr = raw_externalEntityDecl(strName, strPublicId, strSystemId);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IMXWriter wrapper method implementations
- //
- inline void IMXWriter::Putoutput ( const _variant_t & varDestination ) {
- HRESULT _hr = put_output(varDestination);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _variant_t IMXWriter::Getoutput ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_output(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IMXWriter::Putencoding ( _bstr_t strEncoding ) {
- HRESULT _hr = put_encoding(strEncoding);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _bstr_t IMXWriter::Getencoding ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_encoding(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IMXWriter::PutbyteOrderMark ( VARIANT_BOOL fWriteByteOrderMark ) {
- HRESULT _hr = put_byteOrderMark(fWriteByteOrderMark);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IMXWriter::GetbyteOrderMark ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_byteOrderMark(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IMXWriter::Putindent ( VARIANT_BOOL fIndentMode ) {
- HRESULT _hr = put_indent(fIndentMode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IMXWriter::Getindent ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_indent(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IMXWriter::Putstandalone ( VARIANT_BOOL fValue ) {
- HRESULT _hr = put_standalone(fValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IMXWriter::Getstandalone ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_standalone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IMXWriter::PutomitXMLDeclaration ( VARIANT_BOOL fValue ) {
- HRESULT _hr = put_omitXMLDeclaration(fValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IMXWriter::GetomitXMLDeclaration ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_omitXMLDeclaration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IMXWriter::Putversion ( _bstr_t strVersion ) {
- HRESULT _hr = put_version(strVersion);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _bstr_t IMXWriter::Getversion ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IMXWriter::PutdisableOutputEscaping ( VARIANT_BOOL fValue ) {
- HRESULT _hr = put_disableOutputEscaping(fValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IMXWriter::GetdisableOutputEscaping ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_disableOutputEscaping(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IMXWriter::flush ( ) {
- HRESULT _hr = raw_flush();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IMXAttributes wrapper method implementations
- //
- inline HRESULT IMXAttributes::addAttribute ( _bstr_t strURI, _bstr_t strLocalName, _bstr_t strQName, _bstr_t strType, _bstr_t strValue ) {
- HRESULT _hr = raw_addAttribute(strURI, strLocalName, strQName, strType, strValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::addAttributeFromIndex ( const _variant_t & varAtts, int nIndex ) {
- HRESULT _hr = raw_addAttributeFromIndex(varAtts, nIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::clear ( ) {
- HRESULT _hr = raw_clear();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::removeAttribute ( int nIndex ) {
- HRESULT _hr = raw_removeAttribute(nIndex);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setAttribute ( int nIndex, _bstr_t strURI, _bstr_t strLocalName, _bstr_t strQName, _bstr_t strType, _bstr_t strValue ) {
- HRESULT _hr = raw_setAttribute(nIndex, strURI, strLocalName, strQName, strType, strValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setAttributes ( const _variant_t & varAtts ) {
- HRESULT _hr = raw_setAttributes(varAtts);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setLocalName ( int nIndex, _bstr_t strLocalName ) {
- HRESULT _hr = raw_setLocalName(nIndex, strLocalName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setQName ( int nIndex, _bstr_t strQName ) {
- HRESULT _hr = raw_setQName(nIndex, strQName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setType ( int nIndex, _bstr_t strType ) {
- HRESULT _hr = raw_setType(nIndex, strType);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setURI ( int nIndex, _bstr_t strURI ) {
- HRESULT _hr = raw_setURI(nIndex, strURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXAttributes::setValue ( int nIndex, _bstr_t strValue ) {
- HRESULT _hr = raw_setValue(nIndex, strValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IMXReaderControl wrapper method implementations
- //
- inline HRESULT IMXReaderControl::abort ( ) {
- HRESULT _hr = raw_abort();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXReaderControl::resume ( ) {
- HRESULT _hr = raw_resume();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXReaderControl::suspend ( ) {
- HRESULT _hr = raw_suspend();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISchemaStringCollection wrapper method implementations
- //
- inline _bstr_t ISchemaStringCollection::Getitem ( long index ) {
- BSTR _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline long ISchemaStringCollection::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IUnknownPtr ISchemaStringCollection::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IMXXMLFilter wrapper method implementations
- //
- inline VARIANT_BOOL IMXXMLFilter::getFeature ( _bstr_t strName ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_getFeature(strName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IMXXMLFilter::putFeature ( _bstr_t strName, VARIANT_BOOL fValue ) {
- HRESULT _hr = raw_putFeature(strName, fValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _variant_t IMXXMLFilter::getProperty ( _bstr_t strName ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getProperty(strName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT IMXXMLFilter::putProperty ( _bstr_t strName, const _variant_t & varValue ) {
- HRESULT _hr = raw_putProperty(strName, varValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IUnknownPtr IMXXMLFilter::GetentityResolver ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get_entityResolver(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- inline void IMXXMLFilter::PutRefentityResolver ( IUnknown * oResolver ) {
- HRESULT _hr = putref_entityResolver(oResolver);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IUnknownPtr IMXXMLFilter::GetcontentHandler ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get_contentHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- inline void IMXXMLFilter::PutRefcontentHandler ( IUnknown * oHandler ) {
- HRESULT _hr = putref_contentHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IUnknownPtr IMXXMLFilter::GetdtdHandler ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get_dtdHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- inline void IMXXMLFilter::PutRefdtdHandler ( IUnknown * oHandler ) {
- HRESULT _hr = putref_dtdHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IUnknownPtr IMXXMLFilter::GeterrorHandler ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get_errorHandler(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- inline void IMXXMLFilter::PutReferrorHandler ( IUnknown * oHandler ) {
- HRESULT _hr = putref_errorHandler(oHandler);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // dispinterface XMLDOMDocumentEvents wrapper method implementations
- //
- inline HRESULT XMLDOMDocumentEvents::ondataavailable ( ) {
- HRESULT _result = 0;
- _com_dispatch_method(this, 0xc6, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
- return _result;
- }
- inline HRESULT XMLDOMDocumentEvents::onreadystatechange ( ) {
- HRESULT _result = 0;
- _com_dispatch_method(this, DISPID_READYSTATECHANGE, DISPATCH_METHOD, VT_ERROR, (void*)&_result, NULL);
- return _result;
- }
- //
- // interface IXMLHTTPRequest wrapper method implementations
- //
- inline HRESULT IXMLHTTPRequest::open ( _bstr_t bstrMethod, _bstr_t bstrUrl, const _variant_t & varAsync, const _variant_t & bstrUser, const _variant_t & bstrPassword ) {
- HRESULT _hr = raw_open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLHTTPRequest::setRequestHeader ( _bstr_t bstrHeader, _bstr_t bstrValue ) {
- HRESULT _hr = raw_setRequestHeader(bstrHeader, bstrValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _bstr_t IXMLHTTPRequest::getResponseHeader ( _bstr_t bstrHeader ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getResponseHeader(bstrHeader, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLHTTPRequest::getAllResponseHeaders ( ) {
- BSTR _result = 0;
- HRESULT _hr = raw_getAllResponseHeaders(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline HRESULT IXMLHTTPRequest::send ( const _variant_t & varBody ) {
- HRESULT _hr = raw_send(varBody);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLHTTPRequest::abort ( ) {
- HRESULT _hr = raw_abort();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline long IXMLHTTPRequest::Getstatus ( ) {
- long _result = 0;
- HRESULT _hr = get_status(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXMLHTTPRequest::GetstatusText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_statusText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline IDispatchPtr IXMLHTTPRequest::GetresponseXML ( ) {
- IDispatch * _result = 0;
- HRESULT _hr = get_responseXML(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IDispatchPtr(_result, false);
- }
- inline _bstr_t IXMLHTTPRequest::GetresponseText ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_responseText(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _variant_t IXMLHTTPRequest::GetresponseBody ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_responseBody(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t IXMLHTTPRequest::GetresponseStream ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_responseStream(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline long IXMLHTTPRequest::GetreadyState ( ) {
- long _result = 0;
- HRESULT _hr = get_readyState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IXMLHTTPRequest::Putonreadystatechange ( IDispatch * _arg1 ) {
- HRESULT _hr = put_onreadystatechange(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IServerXMLHTTPRequest wrapper method implementations
- //
- inline HRESULT IServerXMLHTTPRequest::setTimeouts ( long resolveTimeout, long connectTimeout, long sendTimeout, long receiveTimeout ) {
- HRESULT _hr = raw_setTimeouts(resolveTimeout, connectTimeout, sendTimeout, receiveTimeout);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline VARIANT_BOOL IServerXMLHTTPRequest::waitForResponse ( const _variant_t & timeoutInSeconds ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_waitForResponse(timeoutInSeconds, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _variant_t IServerXMLHTTPRequest::getOption ( SERVERXMLHTTP_OPTION option ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getOption(option, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT IServerXMLHTTPRequest::setOption ( SERVERXMLHTTP_OPTION option, const _variant_t & value ) {
- HRESULT _hr = raw_setOption(option, value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IServerXMLHTTPRequest2 wrapper method implementations
- //
- inline HRESULT IServerXMLHTTPRequest2::setProxy ( SXH_PROXY_SETTING proxySetting, const _variant_t & varProxyServer, const _variant_t & varBypassList ) {
- HRESULT _hr = raw_setProxy(proxySetting, varProxyServer, varBypassList);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IServerXMLHTTPRequest2::setProxyCredentials ( _bstr_t bstrUserName, _bstr_t bstrPassword ) {
- HRESULT _hr = raw_setProxyCredentials(bstrUserName, bstrPassword);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IMXNamespacePrefixes wrapper method implementations
- //
- inline _bstr_t IMXNamespacePrefixes::Getitem ( long index ) {
- BSTR _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline long IMXNamespacePrefixes::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IUnknownPtr IMXNamespacePrefixes::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IXMLDOMNode wrapper method implementations
- //
- inline _bstr_t IXMLDOMNode::GetnodeName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_nodeName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _variant_t IXMLDOMNode::GetnodeValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_nodeValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IXMLDOMNode::PutnodeValue ( const _variant_t & value ) {
- HRESULT _hr = put_nodeValue(value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline DOMNodeType IXMLDOMNode::GetnodeType ( ) {
- DOMNodeType _result;
- HRESULT _hr = get_nodeType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMNodePtr IXMLDOMNode::GetparentNode ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_parentNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodeListPtr IXMLDOMNode::GetchildNodes ( ) {
- struct IXMLDOMNodeList * _result = 0;
- HRESULT _hr = get_childNodes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodeListPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::GetfirstChild ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_firstChild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::GetlastChild ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_lastChild(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::GetpreviousSibling ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_previousSibling(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::GetnextSibling ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_nextSibling(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNamedNodeMapPtr IXMLDOMNode::Getattributes ( ) {
- struct IXMLDOMNamedNodeMap * _result = 0;
- HRESULT _hr = get_attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNamedNodeMapPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::insertBefore ( struct IXMLDOMNode * newChild, const _variant_t & refChild ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_insertBefore(newChild, refChild, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::replaceChild ( struct IXMLDOMNode * newChild, struct IXMLDOMNode * oldChild ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_replaceChild(newChild, oldChild, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::removeChild ( struct IXMLDOMNode * childNode ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_removeChild(childNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::appendChild ( struct IXMLDOMNode * newChild ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_appendChild(newChild, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline VARIANT_BOOL IXMLDOMNode::hasChildNodes ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_hasChildNodes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMDocumentPtr IXMLDOMNode::GetownerDocument ( ) {
- struct IXMLDOMDocument * _result = 0;
- HRESULT _hr = get_ownerDocument(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMDocumentPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::cloneNode ( VARIANT_BOOL deep ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_cloneNode(deep, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline _bstr_t IXMLDOMNode::GetnodeTypeString ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_nodeTypeString(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMNode::Gettext ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_text(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IXMLDOMNode::Puttext ( _bstr_t text ) {
- HRESULT _hr = put_text(text);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IXMLDOMNode::Getspecified ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_specified(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMNodePtr IXMLDOMNode::Getdefinition ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_definition(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline _variant_t IXMLDOMNode::GetnodeTypedValue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_nodeTypedValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IXMLDOMNode::PutnodeTypedValue ( const _variant_t & typedValue ) {
- HRESULT _hr = put_nodeTypedValue(typedValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _variant_t IXMLDOMNode::GetdataType ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_dataType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IXMLDOMNode::PutdataType ( _bstr_t dataTypeName ) {
- HRESULT _hr = put_dataType(dataTypeName);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _bstr_t IXMLDOMNode::Getxml ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_xml(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMNode::transformNode ( struct IXMLDOMNode * stylesheet ) {
- BSTR _result = 0;
- HRESULT _hr = raw_transformNode(stylesheet, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline IXMLDOMNodeListPtr IXMLDOMNode::selectNodes ( _bstr_t queryString ) {
- struct IXMLDOMNodeList * _result = 0;
- HRESULT _hr = raw_selectNodes(queryString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodeListPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNode::selectSingleNode ( _bstr_t queryString ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_selectSingleNode(queryString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline VARIANT_BOOL IXMLDOMNode::Getparsed ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_parsed(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXMLDOMNode::GetnamespaceURI ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_namespaceURI(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMNode::Getprefix ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_prefix(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMNode::GetbaseName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_baseName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline HRESULT IXMLDOMNode::transformNodeToObject ( struct IXMLDOMNode * stylesheet, const _variant_t & outputObject ) {
- HRESULT _hr = raw_transformNodeToObject(stylesheet, outputObject);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IXMLDOMNodeList wrapper method implementations
- //
- inline IXMLDOMNodePtr IXMLDOMNodeList::Getitem ( long index ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline long IXMLDOMNodeList::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMNodePtr IXMLDOMNodeList::nextNode ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_nextNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline HRESULT IXMLDOMNodeList::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IUnknownPtr IXMLDOMNodeList::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IXMLDOMNamedNodeMap wrapper method implementations
- //
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getNamedItem ( _bstr_t name ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_getNamedItem(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::setNamedItem ( struct IXMLDOMNode * newItem ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_setNamedItem(newItem, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeNamedItem ( _bstr_t name ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_removeNamedItem(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::Getitem ( long index ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline long IXMLDOMNamedNodeMap::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_getQualifiedItem(baseName, namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_removeQualifiedItem(baseName, namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::nextNode ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_nextNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline HRESULT IXMLDOMNamedNodeMap::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IUnknownPtr IXMLDOMNamedNodeMap::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IXMLDOMDocumentType wrapper method implementations
- //
- inline _bstr_t IXMLDOMDocumentType::Getname ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getentities ( ) {
- struct IXMLDOMNamedNodeMap * _result = 0;
- HRESULT _hr = get_entities(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNamedNodeMapPtr(_result, false);
- }
- inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getnotations ( ) {
- struct IXMLDOMNamedNodeMap * _result = 0;
- HRESULT _hr = get_notations(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNamedNodeMapPtr(_result, false);
- }
- //
- // interface IXMLDOMAttribute wrapper method implementations
- //
- inline _bstr_t IXMLDOMAttribute::Getname ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _variant_t IXMLDOMAttribute::Getvalue ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_value(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IXMLDOMAttribute::Putvalue ( const _variant_t & attributeValue ) {
- HRESULT _hr = put_value(attributeValue);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IXMLDOMElement wrapper method implementations
- //
- inline _bstr_t IXMLDOMElement::GettagName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_tagName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _variant_t IXMLDOMElement::getAttribute ( _bstr_t name ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getAttribute(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT IXMLDOMElement::setAttribute ( _bstr_t name, const _variant_t & value ) {
- HRESULT _hr = raw_setAttribute(name, value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLDOMElement::removeAttribute ( _bstr_t name ) {
- HRESULT _hr = raw_removeAttribute(name);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IXMLDOMAttributePtr IXMLDOMElement::getAttributeNode ( _bstr_t name ) {
- struct IXMLDOMAttribute * _result = 0;
- HRESULT _hr = raw_getAttributeNode(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMAttributePtr(_result, false);
- }
- inline IXMLDOMAttributePtr IXMLDOMElement::setAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
- struct IXMLDOMAttribute * _result = 0;
- HRESULT _hr = raw_setAttributeNode(DOMAttribute, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMAttributePtr(_result, false);
- }
- inline IXMLDOMAttributePtr IXMLDOMElement::removeAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
- struct IXMLDOMAttribute * _result = 0;
- HRESULT _hr = raw_removeAttributeNode(DOMAttribute, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMAttributePtr(_result, false);
- }
- inline IXMLDOMNodeListPtr IXMLDOMElement::getElementsByTagName ( _bstr_t tagName ) {
- struct IXMLDOMNodeList * _result = 0;
- HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodeListPtr(_result, false);
- }
- inline HRESULT IXMLDOMElement::normalize ( ) {
- HRESULT _hr = raw_normalize();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IXMLDOMCharacterData wrapper method implementations
- //
- inline _bstr_t IXMLDOMCharacterData::Getdata ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_data(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IXMLDOMCharacterData::Putdata ( _bstr_t data ) {
- HRESULT _hr = put_data(data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline long IXMLDOMCharacterData::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXMLDOMCharacterData::substringData ( long offset, long count ) {
- BSTR _result = 0;
- HRESULT _hr = raw_substringData(offset, count, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline HRESULT IXMLDOMCharacterData::appendData ( _bstr_t data ) {
- HRESULT _hr = raw_appendData(data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLDOMCharacterData::insertData ( long offset, _bstr_t data ) {
- HRESULT _hr = raw_insertData(offset, data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLDOMCharacterData::deleteData ( long offset, long count ) {
- HRESULT _hr = raw_deleteData(offset, count);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXMLDOMCharacterData::replaceData ( long offset, long count, _bstr_t data ) {
- HRESULT _hr = raw_replaceData(offset, count, data);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IXMLDOMText wrapper method implementations
- //
- inline IXMLDOMTextPtr IXMLDOMText::splitText ( long offset ) {
- struct IXMLDOMText * _result = 0;
- HRESULT _hr = raw_splitText(offset, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMTextPtr(_result, false);
- }
- //
- // interface IXMLDOMProcessingInstruction wrapper method implementations
- //
- inline _bstr_t IXMLDOMProcessingInstruction::Gettarget ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_target(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXMLDOMProcessingInstruction::Getdata ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_data(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IXMLDOMProcessingInstruction::Putdata ( _bstr_t value ) {
- HRESULT _hr = put_data(value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IXMLDOMDocument wrapper method implementations
- //
- inline IXMLDOMDocumentTypePtr IXMLDOMDocument::Getdoctype ( ) {
- struct IXMLDOMDocumentType * _result = 0;
- HRESULT _hr = get_doctype(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMDocumentTypePtr(_result, false);
- }
- inline IXMLDOMImplementationPtr IXMLDOMDocument::Getimplementation ( ) {
- struct IXMLDOMImplementation * _result = 0;
- HRESULT _hr = get_implementation(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMImplementationPtr(_result, false);
- }
- inline IXMLDOMElementPtr IXMLDOMDocument::GetdocumentElement ( ) {
- struct IXMLDOMElement * _result = 0;
- HRESULT _hr = get_documentElement(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMElementPtr(_result, false);
- }
- inline void IXMLDOMDocument::PutRefdocumentElement ( struct IXMLDOMElement * DOMElement ) {
- HRESULT _hr = putref_documentElement(DOMElement);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IXMLDOMElementPtr IXMLDOMDocument::createElement ( _bstr_t tagName ) {
- struct IXMLDOMElement * _result = 0;
- HRESULT _hr = raw_createElement(tagName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMElementPtr(_result, false);
- }
- inline IXMLDOMDocumentFragmentPtr IXMLDOMDocument::createDocumentFragment ( ) {
- struct IXMLDOMDocumentFragment * _result = 0;
- HRESULT _hr = raw_createDocumentFragment(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMDocumentFragmentPtr(_result, false);
- }
- inline IXMLDOMTextPtr IXMLDOMDocument::createTextNode ( _bstr_t data ) {
- struct IXMLDOMText * _result = 0;
- HRESULT _hr = raw_createTextNode(data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMTextPtr(_result, false);
- }
- inline IXMLDOMCommentPtr IXMLDOMDocument::createComment ( _bstr_t data ) {
- struct IXMLDOMComment * _result = 0;
- HRESULT _hr = raw_createComment(data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMCommentPtr(_result, false);
- }
- inline IXMLDOMCDATASectionPtr IXMLDOMDocument::createCDATASection ( _bstr_t data ) {
- struct IXMLDOMCDATASection * _result = 0;
- HRESULT _hr = raw_createCDATASection(data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMCDATASectionPtr(_result, false);
- }
- inline IXMLDOMProcessingInstructionPtr IXMLDOMDocument::createProcessingInstruction ( _bstr_t target, _bstr_t data ) {
- struct IXMLDOMProcessingInstruction * _result = 0;
- HRESULT _hr = raw_createProcessingInstruction(target, data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMProcessingInstructionPtr(_result, false);
- }
- inline IXMLDOMAttributePtr IXMLDOMDocument::createAttribute ( _bstr_t name ) {
- struct IXMLDOMAttribute * _result = 0;
- HRESULT _hr = raw_createAttribute(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMAttributePtr(_result, false);
- }
- inline IXMLDOMEntityReferencePtr IXMLDOMDocument::createEntityReference ( _bstr_t name ) {
- struct IXMLDOMEntityReference * _result = 0;
- HRESULT _hr = raw_createEntityReference(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMEntityReferencePtr(_result, false);
- }
- inline IXMLDOMNodeListPtr IXMLDOMDocument::getElementsByTagName ( _bstr_t tagName ) {
- struct IXMLDOMNodeList * _result = 0;
- HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodeListPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMDocument::createNode ( const _variant_t & type, _bstr_t name, _bstr_t namespaceURI ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_createNode(type, name, namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMDocument::nodeFromID ( _bstr_t idString ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_nodeFromID(idString, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline VARIANT_BOOL IXMLDOMDocument::load ( const _variant_t & xmlSource ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_load(xmlSource, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXMLDOMDocument::GetreadyState ( ) {
- long _result = 0;
- HRESULT _hr = get_readyState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMParseErrorPtr IXMLDOMDocument::GetparseError ( ) {
- struct IXMLDOMParseError * _result = 0;
- HRESULT _hr = get_parseError(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseErrorPtr(_result, false);
- }
- inline _bstr_t IXMLDOMDocument::Geturl ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_url(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline VARIANT_BOOL IXMLDOMDocument::Getasync ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_async(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IXMLDOMDocument::Putasync ( VARIANT_BOOL isAsync ) {
- HRESULT _hr = put_async(isAsync);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline HRESULT IXMLDOMDocument::abort ( ) {
- HRESULT _hr = raw_abort();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline VARIANT_BOOL IXMLDOMDocument::loadXML ( _bstr_t bstrXML ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_loadXML(bstrXML, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IXMLDOMDocument::save ( const _variant_t & destination ) {
- HRESULT _hr = raw_save(destination);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline VARIANT_BOOL IXMLDOMDocument::GetvalidateOnParse ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_validateOnParse(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IXMLDOMDocument::PutvalidateOnParse ( VARIANT_BOOL isValidating ) {
- HRESULT _hr = put_validateOnParse(isValidating);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IXMLDOMDocument::GetresolveExternals ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_resolveExternals(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IXMLDOMDocument::PutresolveExternals ( VARIANT_BOOL isResolving ) {
- HRESULT _hr = put_resolveExternals(isResolving);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IXMLDOMDocument::GetpreserveWhiteSpace ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_preserveWhiteSpace(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IXMLDOMDocument::PutpreserveWhiteSpace ( VARIANT_BOOL isPreserving ) {
- HRESULT _hr = put_preserveWhiteSpace(isPreserving);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline void IXMLDOMDocument::Putonreadystatechange ( const _variant_t & _arg1 ) {
- HRESULT _hr = put_onreadystatechange(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline void IXMLDOMDocument::Putondataavailable ( const _variant_t & _arg1 ) {
- HRESULT _hr = put_ondataavailable(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline void IXMLDOMDocument::Putontransformnode ( const _variant_t & _arg1 ) {
- HRESULT _hr = put_ontransformnode(_arg1);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- //
- // interface IXMLDOMSchemaCollection wrapper method implementations
- //
- inline HRESULT IXMLDOMSchemaCollection::add ( _bstr_t namespaceURI, const _variant_t & var ) {
- HRESULT _hr = raw_add(namespaceURI, var);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IXMLDOMNodePtr IXMLDOMSchemaCollection::get ( _bstr_t namespaceURI ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_get(namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline HRESULT IXMLDOMSchemaCollection::remove ( _bstr_t namespaceURI ) {
- HRESULT _hr = raw_remove(namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline long IXMLDOMSchemaCollection::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXMLDOMSchemaCollection::GetnamespaceURI ( long index ) {
- BSTR _result = 0;
- HRESULT _hr = get_namespaceURI(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline HRESULT IXMLDOMSchemaCollection::addCollection ( struct IXMLDOMSchemaCollection * otherCollection ) {
- HRESULT _hr = raw_addCollection(otherCollection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IUnknownPtr IXMLDOMSchemaCollection::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IXMLDOMDocument2 wrapper method implementations
- //
- inline IXMLDOMSchemaCollectionPtr IXMLDOMDocument2::Getnamespaces ( ) {
- struct IXMLDOMSchemaCollection * _result = 0;
- HRESULT _hr = get_namespaces(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMSchemaCollectionPtr(_result, false);
- }
- inline _variant_t IXMLDOMDocument2::Getschemas ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_schemas(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline void IXMLDOMDocument2::PutRefschemas ( const _variant_t & otherCollection ) {
- HRESULT _hr = putref_schemas(otherCollection);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IXMLDOMParseErrorPtr IXMLDOMDocument2::validate ( ) {
- struct IXMLDOMParseError * _result = 0;
- HRESULT _hr = raw_validate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseErrorPtr(_result, false);
- }
- inline HRESULT IXMLDOMDocument2::setProperty ( _bstr_t name, const _variant_t & value ) {
- HRESULT _hr = raw_setProperty(name, value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _variant_t IXMLDOMDocument2::getProperty ( _bstr_t name ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getProperty(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface IXMLDOMDocument3 wrapper method implementations
- //
- inline IXMLDOMParseErrorPtr IXMLDOMDocument3::validateNode ( struct IXMLDOMNode * node ) {
- struct IXMLDOMParseError * _result = 0;
- HRESULT _hr = raw_validateNode(node, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseErrorPtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMDocument3::importNode ( struct IXMLDOMNode * node, VARIANT_BOOL deep ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_importNode(node, deep, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- //
- // interface IXMLDOMNotation wrapper method implementations
- //
- inline _variant_t IXMLDOMNotation::GetpublicId ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_publicId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t IXMLDOMNotation::GetsystemId ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_systemId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface IXMLDOMEntity wrapper method implementations
- //
- inline _variant_t IXMLDOMEntity::GetpublicId ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_publicId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t IXMLDOMEntity::GetsystemId ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_systemId(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _bstr_t IXMLDOMEntity::GetnotationName ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_notationName(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IXTLRuntime wrapper method implementations
- //
- inline long IXTLRuntime::uniqueID ( struct IXMLDOMNode * pNode ) {
- long _result = 0;
- HRESULT _hr = raw_uniqueID(pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXTLRuntime::depth ( struct IXMLDOMNode * pNode ) {
- long _result = 0;
- HRESULT _hr = raw_depth(pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXTLRuntime::childNumber ( struct IXMLDOMNode * pNode ) {
- long _result = 0;
- HRESULT _hr = raw_childNumber(pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXTLRuntime::ancestorChildNumber ( _bstr_t bstrNodeName, struct IXMLDOMNode * pNode ) {
- long _result = 0;
- HRESULT _hr = raw_ancestorChildNumber(bstrNodeName, pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline long IXTLRuntime::absoluteChildNumber ( struct IXMLDOMNode * pNode ) {
- long _result = 0;
- HRESULT _hr = raw_absoluteChildNumber(pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IXTLRuntime::formatIndex ( long lIndex, _bstr_t bstrFormat ) {
- BSTR _result = 0;
- HRESULT _hr = raw_formatIndex(lIndex, bstrFormat, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXTLRuntime::formatNumber ( double dblNumber, _bstr_t bstrFormat ) {
- BSTR _result = 0;
- HRESULT _hr = raw_formatNumber(dblNumber, bstrFormat, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXTLRuntime::formatDate ( const _variant_t & varDate, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
- BSTR _result = 0;
- HRESULT _hr = raw_formatDate(varDate, bstrFormat, varDestLocale, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXTLRuntime::formatTime ( const _variant_t & varTime, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
- BSTR _result = 0;
- HRESULT _hr = raw_formatTime(varTime, bstrFormat, varDestLocale, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- //
- // interface IXMLDOMSelection wrapper method implementations
- //
- inline _bstr_t IXMLDOMSelection::Getexpr ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_expr(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IXMLDOMSelection::Putexpr ( _bstr_t expression ) {
- HRESULT _hr = put_expr(expression);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IXMLDOMNodePtr IXMLDOMSelection::Getcontext ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_context(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline void IXMLDOMSelection::PutRefcontext ( struct IXMLDOMNode * ppNode ) {
- HRESULT _hr = putref_context(ppNode);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IXMLDOMNodePtr IXMLDOMSelection::peekNode ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_peekNode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMSelection::matches ( struct IXMLDOMNode * pNode ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_matches(pNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXMLDOMNodePtr IXMLDOMSelection::removeNext ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = raw_removeNext(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline HRESULT IXMLDOMSelection::removeAll ( ) {
- HRESULT _hr = raw_removeAll();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IXMLDOMSelectionPtr IXMLDOMSelection::clone ( ) {
- struct IXMLDOMSelection * _result = 0;
- HRESULT _hr = raw_clone(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMSelectionPtr(_result, false);
- }
- inline _variant_t IXMLDOMSelection::getProperty ( _bstr_t name ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getProperty(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline HRESULT IXMLDOMSelection::setProperty ( _bstr_t name, const _variant_t & value ) {
- HRESULT _hr = raw_setProperty(name, value);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IDSOControl wrapper method implementations
- //
- inline IXMLDOMDocumentPtr IDSOControl::GetXMLDocument ( ) {
- struct IXMLDOMDocument * _result = 0;
- HRESULT _hr = get_XMLDocument(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMDocumentPtr(_result, false);
- }
- inline void IDSOControl::PutXMLDocument ( struct IXMLDOMDocument * ppDoc ) {
- HRESULT _hr = put_XMLDocument(ppDoc);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline long IDSOControl::GetJavaDSOCompatible ( ) {
- long _result = 0;
- HRESULT _hr = get_JavaDSOCompatible(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline void IDSOControl::PutJavaDSOCompatible ( long fJavaDSOCompatible ) {
- HRESULT _hr = put_JavaDSOCompatible(fJavaDSOCompatible);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline long IDSOControl::GetreadyState ( ) {
- long _result = 0;
- HRESULT _hr = get_readyState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IVBMXNamespaceManager wrapper method implementations
- //
- inline void IVBMXNamespaceManager::PutallowOverride ( VARIANT_BOOL fOverride ) {
- HRESULT _hr = put_allowOverride(fOverride);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IVBMXNamespaceManager::GetallowOverride ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_allowOverride(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IVBMXNamespaceManager::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBMXNamespaceManager::pushContext ( ) {
- HRESULT _hr = raw_pushContext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBMXNamespaceManager::pushNodeContext ( struct IXMLDOMNode * contextNode, VARIANT_BOOL fDeep ) {
- HRESULT _hr = raw_pushNodeContext(contextNode, fDeep);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBMXNamespaceManager::popContext ( ) {
- HRESULT _hr = raw_popContext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IVBMXNamespaceManager::declarePrefix ( _bstr_t prefix, _bstr_t namespaceURI ) {
- HRESULT _hr = raw_declarePrefix(prefix, namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IMXNamespacePrefixesPtr IVBMXNamespaceManager::getDeclaredPrefixes ( ) {
- struct IMXNamespacePrefixes * _result = 0;
- HRESULT _hr = raw_getDeclaredPrefixes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IMXNamespacePrefixesPtr(_result, false);
- }
- inline IMXNamespacePrefixesPtr IVBMXNamespaceManager::getPrefixes ( _bstr_t namespaceURI ) {
- struct IMXNamespacePrefixes * _result = 0;
- HRESULT _hr = raw_getPrefixes(namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IMXNamespacePrefixesPtr(_result, false);
- }
- inline _variant_t IVBMXNamespaceManager::getURI ( _bstr_t prefix ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getURI(prefix, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t IVBMXNamespaceManager::getURIFromNode ( _bstr_t strPrefix, struct IXMLDOMNode * contextNode ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = raw_getURIFromNode(strPrefix, contextNode, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface IMXNamespaceManager wrapper method implementations
- //
- inline HRESULT IMXNamespaceManager::putAllowOverride ( VARIANT_BOOL fOverride ) {
- HRESULT _hr = raw_putAllowOverride(fOverride);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline VARIANT_BOOL IMXNamespaceManager::getAllowOverride ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_getAllowOverride(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IMXNamespaceManager::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::pushContext ( ) {
- HRESULT _hr = raw_pushContext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::pushNodeContext ( struct IXMLDOMNode * contextNode, VARIANT_BOOL fDeep ) {
- HRESULT _hr = raw_pushNodeContext(contextNode, fDeep);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::popContext ( ) {
- HRESULT _hr = raw_popContext();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::declarePrefix ( unsigned short * prefix, unsigned short * namespaceURI ) {
- HRESULT _hr = raw_declarePrefix(prefix, namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::getDeclaredPrefix ( long nIndex, unsigned short * pwchPrefix, int * pcchPrefix ) {
- HRESULT _hr = raw_getDeclaredPrefix(nIndex, pwchPrefix, pcchPrefix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::getPrefix ( unsigned short * pwszNamespaceURI, long nIndex, unsigned short * pwchPrefix, int * pcchPrefix ) {
- HRESULT _hr = raw_getPrefix(pwszNamespaceURI, nIndex, pwchPrefix, pcchPrefix);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IMXNamespaceManager::getURI ( unsigned short * pwchPrefix, struct IXMLDOMNode * pContextNode, unsigned short * pwchUri, int * pcchUri ) {
- HRESULT _hr = raw_getURI(pwchPrefix, pContextNode, pwchUri, pcchUri);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface IXMLDOMParseError2 wrapper method implementations
- //
- inline _bstr_t IXMLDOMParseError2::GeterrorXPath ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_errorXPath(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline IXMLDOMParseErrorCollectionPtr IXMLDOMParseError2::GetallErrors ( ) {
- struct IXMLDOMParseErrorCollection * _result = 0;
- HRESULT _hr = get_allErrors(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseErrorCollectionPtr(_result, false);
- }
- inline _bstr_t IXMLDOMParseError2::errorParameters ( long index ) {
- BSTR _result = 0;
- HRESULT _hr = raw_errorParameters(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline long IXMLDOMParseError2::GeterrorParametersCount ( ) {
- long _result = 0;
- HRESULT _hr = get_errorParametersCount(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IXMLDOMParseErrorCollection wrapper method implementations
- //
- inline IXMLDOMParseError2Ptr IXMLDOMParseErrorCollection::Getitem ( long index ) {
- struct IXMLDOMParseError2 * _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseError2Ptr(_result, false);
- }
- inline long IXMLDOMParseErrorCollection::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IXMLDOMParseError2Ptr IXMLDOMParseErrorCollection::Getnext ( ) {
- struct IXMLDOMParseError2 * _result = 0;
- HRESULT _hr = get_next(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMParseError2Ptr(_result, false);
- }
- inline HRESULT IXMLDOMParseErrorCollection::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IUnknownPtr IXMLDOMParseErrorCollection::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface IXSLTemplate wrapper method implementations
- //
- inline void IXSLTemplate::PutRefstylesheet ( struct IXMLDOMNode * stylesheet ) {
- HRESULT _hr = putref_stylesheet(stylesheet);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline IXMLDOMNodePtr IXSLTemplate::Getstylesheet ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_stylesheet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- inline IXSLProcessorPtr IXSLTemplate::createProcessor ( ) {
- struct IXSLProcessor * _result = 0;
- HRESULT _hr = raw_createProcessor(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXSLProcessorPtr(_result, false);
- }
- //
- // interface IXSLProcessor wrapper method implementations
- //
- inline void IXSLProcessor::Putinput ( const _variant_t & pVar ) {
- HRESULT _hr = put_input(pVar);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _variant_t IXSLProcessor::Getinput ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_input(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline IXSLTemplatePtr IXSLProcessor::GetownerTemplate ( ) {
- struct IXSLTemplate * _result = 0;
- HRESULT _hr = get_ownerTemplate(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXSLTemplatePtr(_result, false);
- }
- inline HRESULT IXSLProcessor::setStartMode ( _bstr_t mode, _bstr_t namespaceURI ) {
- HRESULT _hr = raw_setStartMode(mode, namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline _bstr_t IXSLProcessor::GetstartMode ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_startMode(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t IXSLProcessor::GetstartModeURI ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_startModeURI(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline void IXSLProcessor::Putoutput ( const _variant_t & pOutput ) {
- HRESULT _hr = put_output(pOutput);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline _variant_t IXSLProcessor::Getoutput ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_output(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline VARIANT_BOOL IXSLProcessor::transform ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_transform(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IXSLProcessor::reset ( ) {
- HRESULT _hr = raw_reset();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline long IXSLProcessor::GetreadyState ( ) {
- long _result = 0;
- HRESULT _hr = get_readyState(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline HRESULT IXSLProcessor::addParameter ( _bstr_t baseName, const _variant_t & parameter, _bstr_t namespaceURI ) {
- HRESULT _hr = raw_addParameter(baseName, parameter, namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline HRESULT IXSLProcessor::addObject ( IDispatch * obj, _bstr_t namespaceURI ) {
- HRESULT _hr = raw_addObject(obj, namespaceURI);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline IXMLDOMNodePtr IXSLProcessor::Getstylesheet ( ) {
- struct IXMLDOMNode * _result = 0;
- HRESULT _hr = get_stylesheet(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IXMLDOMNodePtr(_result, false);
- }
- //
- // interface IMXSchemaDeclHandler wrapper method implementations
- //
- inline HRESULT IMXSchemaDeclHandler::schemaElementDecl ( struct ISchemaElement * oSchemaElement ) {
- HRESULT _hr = raw_schemaElementDecl(oSchemaElement);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- //
- // interface ISchemaItem wrapper method implementations
- //
- inline _bstr_t ISchemaItem::Getname ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_name(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaItem::GetnamespaceURI ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_namespaceURI(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline ISchemaPtr ISchemaItem::Getschema ( ) {
- struct ISchema * _result = 0;
- HRESULT _hr = get_schema(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaPtr(_result, false);
- }
- inline _bstr_t ISchemaItem::Getid ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_id(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline SOMITEMTYPE ISchemaItem::GetitemType ( ) {
- SOMITEMTYPE _result;
- HRESULT _hr = get_itemType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IVBSAXAttributesPtr ISchemaItem::GetunhandledAttributes ( ) {
- struct IVBSAXAttributes * _result = 0;
- HRESULT _hr = get_unhandledAttributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IVBSAXAttributesPtr(_result, false);
- }
- inline VARIANT_BOOL ISchemaItem::writeAnnotation ( IUnknown * annotationSink ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_writeAnnotation(annotationSink, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISchemaParticle wrapper method implementations
- //
- inline _variant_t ISchemaParticle::GetminOccurs ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_minOccurs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t ISchemaParticle::GetmaxOccurs ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_maxOccurs(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- //
- // interface ISchemaItemCollection wrapper method implementations
- //
- inline ISchemaItemPtr ISchemaItemCollection::Getitem ( long index ) {
- struct ISchemaItem * _result = 0;
- HRESULT _hr = get_item(index, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemPtr(_result, false);
- }
- inline ISchemaItemPtr ISchemaItemCollection::itemByName ( _bstr_t name ) {
- struct ISchemaItem * _result = 0;
- HRESULT _hr = raw_itemByName(name, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemPtr(_result, false);
- }
- inline ISchemaItemPtr ISchemaItemCollection::itemByQName ( _bstr_t name, _bstr_t namespaceURI ) {
- struct ISchemaItem * _result = 0;
- HRESULT _hr = raw_itemByQName(name, namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemPtr(_result, false);
- }
- inline long ISchemaItemCollection::Getlength ( ) {
- long _result = 0;
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline IUnknownPtr ISchemaItemCollection::Get_newEnum ( ) {
- IUnknown * _result = 0;
- HRESULT _hr = get__newEnum(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return IUnknownPtr(_result, false);
- }
- //
- // interface ISchema wrapper method implementations
- //
- inline _bstr_t ISchema::GettargetNamespace ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_targetNamespace(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchema::Getversion ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_version(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::Gettypes ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_types(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::Getelements ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_elements(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::Getattributes ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::GetattributeGroups ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_attributeGroups(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::GetmodelGroups ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_modelGroups(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchema::Getnotations ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_notations(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaStringCollectionPtr ISchema::GetschemaLocations ( ) {
- struct ISchemaStringCollection * _result = 0;
- HRESULT _hr = get_schemaLocations(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaStringCollectionPtr(_result, false);
- }
- //
- // interface ISchemaType wrapper method implementations
- //
- inline ISchemaItemCollectionPtr ISchemaType::GetbaseTypes ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_baseTypes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline SCHEMADERIVATIONMETHOD ISchemaType::Getfinal ( ) {
- SCHEMADERIVATIONMETHOD _result;
- HRESULT _hr = get_final(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline SCHEMATYPEVARIETY ISchemaType::Getvariety ( ) {
- SCHEMATYPEVARIETY _result;
- HRESULT _hr = get_variety(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline SCHEMADERIVATIONMETHOD ISchemaType::GetderivedBy ( ) {
- SCHEMADERIVATIONMETHOD _result;
- HRESULT _hr = get_derivedBy(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline VARIANT_BOOL ISchemaType::isValid ( _bstr_t data ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = raw_isValid(data, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t ISchemaType::GetminExclusive ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_minExclusive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaType::GetminInclusive ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_minInclusive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaType::GetmaxExclusive ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_maxExclusive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaType::GetmaxInclusive ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_maxInclusive(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _variant_t ISchemaType::GettotalDigits ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_totalDigits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t ISchemaType::GetfractionDigits ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_fractionDigits(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t ISchemaType::Getlength ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_length(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t ISchemaType::GetminLength ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_minLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline _variant_t ISchemaType::GetmaxLength ( ) {
- VARIANT _result;
- VariantInit(&_result);
- HRESULT _hr = get_maxLength(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _variant_t(_result, false);
- }
- inline ISchemaStringCollectionPtr ISchemaType::Getenumeration ( ) {
- struct ISchemaStringCollection * _result = 0;
- HRESULT _hr = get_enumeration(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaStringCollectionPtr(_result, false);
- }
- inline SCHEMAWHITESPACE ISchemaType::Getwhitespace ( ) {
- SCHEMAWHITESPACE _result;
- HRESULT _hr = get_whitespace(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline ISchemaStringCollectionPtr ISchemaType::Getpatterns ( ) {
- struct ISchemaStringCollection * _result = 0;
- HRESULT _hr = get_patterns(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaStringCollectionPtr(_result, false);
- }
- //
- // interface ISchemaAny wrapper method implementations
- //
- inline ISchemaStringCollectionPtr ISchemaAny::Getnamespaces ( ) {
- struct ISchemaStringCollection * _result = 0;
- HRESULT _hr = get_namespaces(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaStringCollectionPtr(_result, false);
- }
- inline SCHEMAPROCESSCONTENTS ISchemaAny::GetprocessContents ( ) {
- SCHEMAPROCESSCONTENTS _result;
- HRESULT _hr = get_processContents(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISchemaModelGroup wrapper method implementations
- //
- inline ISchemaItemCollectionPtr ISchemaModelGroup::Getparticles ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_particles(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- //
- // interface ISchemaComplexType wrapper method implementations
- //
- inline VARIANT_BOOL ISchemaComplexType::GetisAbstract ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_isAbstract(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline ISchemaAnyPtr ISchemaComplexType::GetanyAttribute ( ) {
- struct ISchemaAny * _result = 0;
- HRESULT _hr = get_anyAttribute(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaAnyPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchemaComplexType::Getattributes ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline SCHEMACONTENTTYPE ISchemaComplexType::GetcontentType ( ) {
- SCHEMACONTENTTYPE _result;
- HRESULT _hr = get_contentType(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline ISchemaModelGroupPtr ISchemaComplexType::GetcontentModel ( ) {
- struct ISchemaModelGroup * _result = 0;
- HRESULT _hr = get_contentModel(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaModelGroupPtr(_result, false);
- }
- inline SCHEMADERIVATIONMETHOD ISchemaComplexType::GetprohibitedSubstitutions ( ) {
- SCHEMADERIVATIONMETHOD _result;
- HRESULT _hr = get_prohibitedSubstitutions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISchemaElement wrapper method implementations
- //
- inline ISchemaTypePtr ISchemaElement::Gettype ( ) {
- struct ISchemaType * _result = 0;
- HRESULT _hr = get_type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaTypePtr(_result, false);
- }
- inline ISchemaComplexTypePtr ISchemaElement::Getscope ( ) {
- struct ISchemaComplexType * _result = 0;
- HRESULT _hr = get_scope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaComplexTypePtr(_result, false);
- }
- inline _bstr_t ISchemaElement::GetdefaultValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_defaultValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaElement::GetfixedValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_fixedValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline VARIANT_BOOL ISchemaElement::GetisNillable ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_isNillable(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline ISchemaItemCollectionPtr ISchemaElement::GetidentityConstraints ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_identityConstraints(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- inline ISchemaElementPtr ISchemaElement::GetsubstitutionGroup ( ) {
- struct ISchemaElement * _result = 0;
- HRESULT _hr = get_substitutionGroup(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaElementPtr(_result, false);
- }
- inline SCHEMADERIVATIONMETHOD ISchemaElement::GetsubstitutionGroupExclusions ( ) {
- SCHEMADERIVATIONMETHOD _result;
- HRESULT _hr = get_substitutionGroupExclusions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline SCHEMADERIVATIONMETHOD ISchemaElement::GetdisallowedSubstitutions ( ) {
- SCHEMADERIVATIONMETHOD _result;
- HRESULT _hr = get_disallowedSubstitutions(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline VARIANT_BOOL ISchemaElement::GetisAbstract ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_isAbstract(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline VARIANT_BOOL ISchemaElement::GetisReference ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_isReference(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface IXMLDOMSchemaCollection2 wrapper method implementations
- //
- inline HRESULT IXMLDOMSchemaCollection2::validate ( ) {
- HRESULT _hr = raw_validate();
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _hr;
- }
- inline void IXMLDOMSchemaCollection2::PutvalidateOnLoad ( VARIANT_BOOL validateOnLoad ) {
- HRESULT _hr = put_validateOnLoad(validateOnLoad);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- }
- inline VARIANT_BOOL IXMLDOMSchemaCollection2::GetvalidateOnLoad ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_validateOnLoad(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline ISchemaPtr IXMLDOMSchemaCollection2::getSchema ( _bstr_t namespaceURI ) {
- struct ISchema * _result = 0;
- HRESULT _hr = raw_getSchema(namespaceURI, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaPtr(_result, false);
- }
- inline ISchemaItemPtr IXMLDOMSchemaCollection2::getDeclaration ( struct IXMLDOMNode * node ) {
- struct ISchemaItem * _result = 0;
- HRESULT _hr = raw_getDeclaration(node, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemPtr(_result, false);
- }
- //
- // interface ISchemaAttribute wrapper method implementations
- //
- inline ISchemaTypePtr ISchemaAttribute::Gettype ( ) {
- struct ISchemaType * _result = 0;
- HRESULT _hr = get_type(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaTypePtr(_result, false);
- }
- inline ISchemaComplexTypePtr ISchemaAttribute::Getscope ( ) {
- struct ISchemaComplexType * _result = 0;
- HRESULT _hr = get_scope(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaComplexTypePtr(_result, false);
- }
- inline _bstr_t ISchemaAttribute::GetdefaultValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_defaultValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaAttribute::GetfixedValue ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_fixedValue(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline SCHEMAUSE ISchemaAttribute::Getuse ( ) {
- SCHEMAUSE _result;
- HRESULT _hr = get_use(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline VARIANT_BOOL ISchemaAttribute::GetisReference ( ) {
- VARIANT_BOOL _result = 0;
- HRESULT _hr = get_isReference(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- //
- // interface ISchemaAttributeGroup wrapper method implementations
- //
- inline ISchemaAnyPtr ISchemaAttributeGroup::GetanyAttribute ( ) {
- struct ISchemaAny * _result = 0;
- HRESULT _hr = get_anyAttribute(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaAnyPtr(_result, false);
- }
- inline ISchemaItemCollectionPtr ISchemaAttributeGroup::Getattributes ( ) {
- struct ISchemaItemCollection * _result = 0;
- HRESULT _hr = get_attributes(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaItemCollectionPtr(_result, false);
- }
- //
- // interface ISchemaIdentityConstraint wrapper method implementations
- //
- inline _bstr_t ISchemaIdentityConstraint::Getselector ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_selector(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline ISchemaStringCollectionPtr ISchemaIdentityConstraint::Getfields ( ) {
- struct ISchemaStringCollection * _result = 0;
- HRESULT _hr = get_fields(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaStringCollectionPtr(_result, false);
- }
- inline ISchemaIdentityConstraintPtr ISchemaIdentityConstraint::GetreferencedKey ( ) {
- struct ISchemaIdentityConstraint * _result = 0;
- HRESULT _hr = get_referencedKey(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return ISchemaIdentityConstraintPtr(_result, false);
- }
- //
- // interface ISchemaNotation wrapper method implementations
- //
- inline _bstr_t ISchemaNotation::GetsystemIdentifier ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_systemIdentifier(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
- inline _bstr_t ISchemaNotation::GetpublicIdentifier ( ) {
- BSTR _result = 0;
- HRESULT _hr = get_publicIdentifier(&_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }
|