IFCReaderGen.cpp 312 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800
  1. /*
  2. Open Asset Import Library (ASSIMP)
  3. ----------------------------------------------------------------------
  4. Copyright (c) 2006-2010, ASSIMP Development Team
  5. All rights reserved.
  6. Redistribution and use of this software in source and binary forms,
  7. with or without modification, are permitted provided that the
  8. following conditions are met:
  9. * Redistributions of source code must retain the above
  10. copyright notice, this list of conditions and the
  11. following disclaimer.
  12. * Redistributions in binary form must reproduce the above
  13. copyright notice, this list of conditions and the
  14. following disclaimer in the documentation and/or other
  15. materials provided with the distribution.
  16. * Neither the name of the ASSIMP team, nor the names of its
  17. contributors may be used to endorse or promote products
  18. derived from this software without specific prior
  19. written permission of the ASSIMP Development Team.
  20. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. ----------------------------------------------------------------------
  32. */
  33. /** MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py */
  34. #include "AssimpPCH.h"
  35. #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER
  36. #include "IFCReaderGen.h"
  37. namespace Assimp {
  38. using namespace IFC;
  39. namespace {
  40. typedef EXPRESS::ConversionSchema::SchemaEntry SchemaEntry;
  41. const SchemaEntry schema_raw[] = {
  42. SchemaEntry("ifcsoundpowermeasure",NULL )
  43. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  44. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  45. , SchemaEntry("ifccharacterstyleselect",NULL )
  46. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  47. , SchemaEntry("ifcairterminaltypeenum",NULL )
  48. , SchemaEntry("ifcprojectordertypeenum",NULL )
  49. , SchemaEntry("ifcsequenceenum",NULL )
  50. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  51. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  52. , SchemaEntry("ifcribplatedirectionenum",NULL )
  53. , SchemaEntry("ifcsensortypeenum",NULL )
  54. , SchemaEntry("ifcelectricheatertypeenum",NULL )
  55. , SchemaEntry("ifcobjectiveenum",NULL )
  56. , SchemaEntry("ifctextstyleselect",NULL )
  57. , SchemaEntry("ifccolumntypeenum",NULL )
  58. , SchemaEntry("ifcgasterminaltypeenum",NULL )
  59. , SchemaEntry("ifcmassdensitymeasure",NULL )
  60. , SchemaEntry("ifcsimplevalue",NULL )
  61. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  62. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  63. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  64. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  65. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  66. , SchemaEntry("ifcsiunitname",NULL )
  67. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  68. , SchemaEntry("ifcmembertypeenum",NULL )
  69. , SchemaEntry("ifctextdecoration",NULL )
  70. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  71. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  72. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  73. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  74. , SchemaEntry("ifcdirectionsenseenum",NULL )
  75. , SchemaEntry("ifcnullstyle",NULL )
  76. , SchemaEntry("ifcmonthinyearnumber",NULL )
  77. , SchemaEntry("ifcrampflighttypeenum",NULL )
  78. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  79. , SchemaEntry("ifccurvaturemeasure",NULL )
  80. , SchemaEntry("ifcbooleanoperator",NULL )
  81. , SchemaEntry("ifcductfittingtypeenum",NULL )
  82. , SchemaEntry("ifccurrencyenum",NULL )
  83. , SchemaEntry("ifcobjecttypeenum",NULL )
  84. , SchemaEntry("ifcthermalloadtypeenum",NULL )
  85. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  86. , SchemaEntry("ifcobjectreferenceselect",NULL )
  87. , SchemaEntry("ifcclassificationnotationselect",NULL )
  88. , SchemaEntry("ifcbsplinecurveform",NULL )
  89. , SchemaEntry("ifcelementcompositionenum",NULL )
  90. , SchemaEntry("ifcdraughtingcalloutelement",NULL )
  91. , SchemaEntry("ifcfillstyleselect",NULL )
  92. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  93. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  94. , SchemaEntry("ifcfontvariant",NULL )
  95. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  96. , SchemaEntry("ifcreflectancemethodenum",NULL )
  97. , SchemaEntry("ifcslabtypeenum",NULL )
  98. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  99. , SchemaEntry("ifcinternalorexternalenum",NULL )
  100. , SchemaEntry("ifcdimensionextentusage",NULL )
  101. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  102. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  103. , SchemaEntry("ifcminuteinhour",NULL )
  104. , SchemaEntry("ifcwalltypeenum",NULL )
  105. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  106. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  107. , SchemaEntry("ifcproceduretypeenum",NULL )
  108. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  109. , SchemaEntry("ifctextpath",NULL )
  110. , SchemaEntry("ifccostscheduletypeenum",NULL )
  111. , SchemaEntry("ifcshell",NULL )
  112. , SchemaEntry("ifclinearmomentmeasure",NULL )
  113. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  114. , SchemaEntry("ifcdaylightsavinghour",NULL )
  115. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  116. , SchemaEntry("ifcfantypeenum",NULL )
  117. , SchemaEntry("ifccontextdependentmeasure",NULL )
  118. , SchemaEntry("ifcaheadorbehind",NULL )
  119. , SchemaEntry("ifcfontstyle",NULL )
  120. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  121. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  122. , SchemaEntry("ifcyearnumber",NULL )
  123. , SchemaEntry("ifclabel",NULL )
  124. , SchemaEntry("ifctimestamp",NULL )
  125. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  126. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  127. , SchemaEntry("ifccolourorfactor",NULL )
  128. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  129. , SchemaEntry("ifcnumericmeasure",NULL )
  130. , SchemaEntry("ifcderivedunitenum",NULL )
  131. , SchemaEntry("ifccurveoredgecurve",NULL )
  132. , SchemaEntry("ifclightemissionsourceenum",NULL )
  133. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  134. , SchemaEntry("ifcboxalignment",NULL )
  135. , SchemaEntry("ifcdocumentselect",NULL )
  136. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  137. , SchemaEntry("ifcpumptypeenum",NULL )
  138. , SchemaEntry("ifchourinday",NULL )
  139. , SchemaEntry("ifcprojectorderrecordtypeenum",NULL )
  140. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  141. , SchemaEntry("ifcpresentationstyleselect",NULL )
  142. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  143. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  144. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  145. , SchemaEntry("ifcidentifier",NULL )
  146. , SchemaEntry("ifcradioactivitymeasure",NULL )
  147. , SchemaEntry("ifcsymbolstyleselect",NULL )
  148. , SchemaEntry("ifcrooftypeenum",NULL )
  149. , SchemaEntry("ifcreal",NULL )
  150. , SchemaEntry("ifcroleenum",NULL )
  151. , SchemaEntry("ifcmeasurevalue",NULL )
  152. , SchemaEntry("ifcpiletypeenum",NULL )
  153. , SchemaEntry("ifcelectriccurrentenum",NULL )
  154. , SchemaEntry("ifctexttransformation",NULL )
  155. , SchemaEntry("ifcfiltertypeenum",NULL )
  156. , SchemaEntry("ifctransformertypeenum",NULL )
  157. , SchemaEntry("ifcsurfaceside",NULL )
  158. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  159. , SchemaEntry("ifctubebundletypeenum",NULL )
  160. , SchemaEntry("ifclightfixturetypeenum",NULL )
  161. , SchemaEntry("ifcinductancemeasure",NULL )
  162. , SchemaEntry("ifcglobalorlocalenum",NULL )
  163. , SchemaEntry("ifcoutlettypeenum",NULL )
  164. , SchemaEntry("ifcworkcontroltypeenum",NULL )
  165. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  166. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  167. , SchemaEntry("ifcenergysequenceenum",NULL )
  168. , SchemaEntry("ifcfillareastyletileshapeselect",NULL )
  169. , SchemaEntry("ifcpointorvertexpoint",NULL )
  170. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  171. , SchemaEntry("ifctanktypeenum",NULL )
  172. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  173. , SchemaEntry("ifcsurfacetextureenum",NULL )
  174. , SchemaEntry("ifcaddresstypeenum",NULL )
  175. , SchemaEntry("ifcchillertypeenum",NULL )
  176. , SchemaEntry("ifccomplexnumber",NULL )
  177. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  178. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  179. , SchemaEntry("ifcresourceconsumptionenum",NULL )
  180. , SchemaEntry("ifccsgselect",NULL )
  181. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  182. , SchemaEntry("ifcevaporatortypeenum",NULL )
  183. , SchemaEntry("ifctimeseriesscheduletypeenum",NULL )
  184. , SchemaEntry("ifcdayinmonthnumber",NULL )
  185. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  186. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  187. , SchemaEntry("ifcenergymeasure",NULL )
  188. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  189. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  190. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  191. , SchemaEntry("ifccurvestylefontselect",NULL )
  192. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  193. , SchemaEntry("ifcdataoriginenum",NULL )
  194. , SchemaEntry("ifcstairtypeenum",NULL )
  195. , SchemaEntry("ifcrailingtypeenum",NULL )
  196. , SchemaEntry("ifcpowermeasure",NULL )
  197. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  198. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  199. , SchemaEntry("ifctrimmingselect",NULL )
  200. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  201. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  202. , SchemaEntry("ifctorquemeasure",NULL )
  203. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  204. , SchemaEntry("ifcvalvetypeenum",NULL )
  205. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  206. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  207. , SchemaEntry("ifcpropertysourceenum",NULL )
  208. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  209. , SchemaEntry("ifccountmeasure",NULL )
  210. , SchemaEntry("ifcfontweight",NULL )
  211. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  212. , SchemaEntry("ifcspacetypeenum",NULL )
  213. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  214. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  215. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  216. , SchemaEntry("ifclayereditem",NULL )
  217. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  218. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  219. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  220. , SchemaEntry("ifcdampertypeenum",NULL )
  221. , SchemaEntry("ifccontrollertypeenum",NULL )
  222. , SchemaEntry("ifcmassflowratemeasure",NULL )
  223. , SchemaEntry("ifcassemblyplaceenum",NULL )
  224. , SchemaEntry("ifcareameasure",NULL )
  225. , SchemaEntry("ifcservicelifefactortypeenum",NULL )
  226. , SchemaEntry("ifcvolumemeasure",NULL )
  227. , SchemaEntry("ifcbeamtypeenum",NULL )
  228. , SchemaEntry("ifcstateenum",NULL )
  229. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  230. , SchemaEntry("ifcsectiontypeenum",NULL )
  231. , SchemaEntry("ifcfootingtypeenum",NULL )
  232. , SchemaEntry("ifcmonetarymeasure",NULL )
  233. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  234. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  235. , SchemaEntry("ifcflowmetertypeenum",NULL )
  236. , SchemaEntry("ifcmaterialselect",NULL )
  237. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  238. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  239. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  240. , SchemaEntry("ifccolour",NULL )
  241. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  242. , SchemaEntry("ifcmetricvalueselect",NULL )
  243. , SchemaEntry("ifctextalignment",NULL )
  244. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  245. , SchemaEntry("ifcplatetypeenum",NULL )
  246. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  247. , SchemaEntry("ifcpresentabletext",NULL )
  248. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  249. , SchemaEntry("ifcstructuralsurfacetypeenum",NULL )
  250. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  251. , SchemaEntry("ifcintegercountratemeasure",NULL )
  252. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  253. , SchemaEntry("ifcdocumentstatusenum",NULL )
  254. , SchemaEntry("ifclengthmeasure",NULL )
  255. , SchemaEntry("ifcplanarforcemeasure",NULL )
  256. , SchemaEntry("ifcbooleanoperand",NULL )
  257. , SchemaEntry("ifcinteger",NULL )
  258. , SchemaEntry("ifcramptypeenum",NULL )
  259. , SchemaEntry("ifcactorselect",NULL )
  260. , SchemaEntry("ifcelectricchargemeasure",NULL )
  261. , SchemaEntry("ifcgeometricsetselect",NULL )
  262. , SchemaEntry("ifcconnectiontypeenum",NULL )
  263. , SchemaEntry("ifcvalue",NULL )
  264. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  265. , SchemaEntry("ifcplaneanglemeasure",NULL )
  266. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  267. , SchemaEntry("ifcflowdirectionenum",NULL )
  268. , SchemaEntry("ifcthermalloadsourceenum",NULL )
  269. , SchemaEntry("ifctextfontselect",NULL )
  270. , SchemaEntry("ifcspecularhighlightselect",NULL )
  271. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  272. , SchemaEntry("ifctextfontname",NULL )
  273. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  274. , SchemaEntry("ifctendontypeenum",NULL )
  275. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  276. , SchemaEntry("ifcelectricdistributionpointfunctionenum",NULL )
  277. , SchemaEntry("ifcspecularroughness",NULL )
  278. , SchemaEntry("ifcactiontypeenum",NULL )
  279. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  280. , SchemaEntry("ifchumidifiertypeenum",NULL )
  281. , SchemaEntry("ifcilluminancemeasure",NULL )
  282. , SchemaEntry("ifclibraryselect",NULL )
  283. , SchemaEntry("ifctext",NULL )
  284. , SchemaEntry("ifclayersetdirectionenum",NULL )
  285. , SchemaEntry("ifcboilertypeenum",NULL )
  286. , SchemaEntry("ifctimemeasure",NULL )
  287. , SchemaEntry("ifcaccelerationmeasure",NULL )
  288. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  289. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  290. , SchemaEntry("ifcdefinedsymbolselect",NULL )
  291. , SchemaEntry("ifcunitenum",NULL )
  292. , SchemaEntry("ifcinventorytypeenum",NULL )
  293. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  294. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  295. , SchemaEntry("ifcservicelifetypeenum",NULL )
  296. , SchemaEntry("ifccoveringtypeenum",NULL )
  297. , SchemaEntry("ifcstairflighttypeenum",NULL )
  298. , SchemaEntry("ifcsiprefix",NULL )
  299. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  300. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  301. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  302. , SchemaEntry("ifcgloballyuniqueid",NULL )
  303. , SchemaEntry("ifclamptypeenum",NULL )
  304. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  305. , SchemaEntry("ifcsolidanglemeasure",NULL )
  306. , SchemaEntry("ifcfrequencymeasure",NULL )
  307. , SchemaEntry("ifctransportelementtypeenum",NULL )
  308. , SchemaEntry("ifcsoundscaleenum",NULL )
  309. , SchemaEntry("ifcphmeasure",NULL )
  310. , SchemaEntry("ifcactuatortypeenum",NULL )
  311. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  312. , SchemaEntry("ifcappliedvalueselect",NULL )
  313. , SchemaEntry("ifcsecondinminute",NULL )
  314. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  315. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  316. , SchemaEntry("ifcspecularexponent",NULL )
  317. , SchemaEntry("ifcdatetimeselect",NULL )
  318. , SchemaEntry("ifctransitioncode",NULL )
  319. , SchemaEntry("ifcdimensioncount",NULL )
  320. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  321. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  322. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  323. , SchemaEntry("ifcprofiletypeenum",NULL )
  324. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  325. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  326. , SchemaEntry("ifcabsorbeddosemeasure",NULL )
  327. , SchemaEntry("ifcparametervalue",NULL )
  328. , SchemaEntry("ifcpileconstructionenum",NULL )
  329. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  330. , SchemaEntry("ifcoccupanttypeenum",NULL )
  331. , SchemaEntry("ifcunit",NULL )
  332. , SchemaEntry("ifclinearforcemeasure",NULL )
  333. , SchemaEntry("ifccondensertypeenum",NULL )
  334. , SchemaEntry("ifcdescriptivemeasure",NULL )
  335. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  336. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  337. , SchemaEntry("ifcorientationselect",NULL )
  338. , SchemaEntry("ifclogical",NULL )
  339. , SchemaEntry("ifcsizeselect",NULL )
  340. , SchemaEntry("ifcenvironmentalimpactcategoryenum",NULL )
  341. , SchemaEntry("ifclogicaloperatorenum",NULL )
  342. , SchemaEntry("ifccompressortypeenum",NULL )
  343. , SchemaEntry("ifcbenchmarkenum",NULL )
  344. , SchemaEntry("ifcratiomeasure",NULL )
  345. , SchemaEntry("ifcvectorordirection",NULL )
  346. , SchemaEntry("ifcconstraintenum",NULL )
  347. , SchemaEntry("ifcalarmtypeenum",NULL )
  348. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  349. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  350. , SchemaEntry("ifcaxis2placement",NULL )
  351. , SchemaEntry("ifcforcemeasure",NULL )
  352. , SchemaEntry("ifctrimmingpreference",NULL )
  353. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  354. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  355. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  356. , SchemaEntry("ifcconditioncriterionselect",NULL )
  357. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  358. , SchemaEntry("ifcpressuremeasure",NULL )
  359. , SchemaEntry("ifcductsilencertypeenum",NULL )
  360. , SchemaEntry("ifcboolean",NULL )
  361. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  362. , SchemaEntry("ifcchangeactionenum",NULL )
  363. , SchemaEntry("ifccoiltypeenum",NULL )
  364. , SchemaEntry("ifcmassmeasure",NULL )
  365. , SchemaEntry("ifcstructuralcurvetypeenum",NULL )
  366. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  367. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  368. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  369. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  370. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  371. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  372. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  373. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  374. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  375. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,1>::Construct )
  376. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  377. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  378. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,3>::Construct )
  379. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  380. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  381. , SchemaEntry("ifconedirectionrepeatfactor",&STEP::ObjectHelper<IfcOneDirectionRepeatFactor,1>::Construct )
  382. , SchemaEntry("ifctwodirectionrepeatfactor",&STEP::ObjectHelper<IfcTwoDirectionRepeatFactor,1>::Construct )
  383. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  384. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  385. , SchemaEntry("ifclocaltime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  386. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  387. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,0>::Construct )
  388. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,1>::Construct )
  389. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  390. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  391. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  392. , SchemaEntry("ifcfluidflowproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  393. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  394. , SchemaEntry("ifccalendardate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  395. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  396. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  397. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  398. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  399. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  400. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  401. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  402. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  403. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  404. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  405. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  406. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  407. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  408. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  409. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  410. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  411. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  412. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  413. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  414. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  415. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  416. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  417. , SchemaEntry("ifcenergyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  418. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  419. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  420. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  421. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  422. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  423. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  424. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  425. , SchemaEntry("ifcrelassignstoprojectorder",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  426. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  427. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  428. , SchemaEntry("ifcsoundproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  429. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  430. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  431. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,0>::Construct )
  432. , SchemaEntry("ifcconditioncriterion",&STEP::ObjectHelper<IfcConditionCriterion,2>::Construct )
  433. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  434. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  435. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  436. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  437. , SchemaEntry("ifcelectricalcircuit",&STEP::ObjectHelper<IfcElectricalCircuit,0>::Construct )
  438. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  439. , SchemaEntry("ifcdateandtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  440. , SchemaEntry("ifcdraughtingcalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  441. , SchemaEntry("ifcdimensioncalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  442. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  443. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  444. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  445. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  446. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  447. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  448. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  449. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  450. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  451. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  452. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  453. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  454. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  455. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  456. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  457. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  458. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  459. , SchemaEntry("ifcenvironmentalimpactvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  460. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  461. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  462. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  463. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  464. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  465. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,8>::Construct )
  466. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  467. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  468. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  469. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  470. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  471. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  472. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,0>::Construct )
  473. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  474. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  475. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  476. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,2>::Construct )
  477. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,1>::Construct )
  478. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  479. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  480. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  481. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  482. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  483. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,0>::Construct )
  484. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,3>::Construct )
  485. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  486. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  487. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  488. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  489. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  490. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  491. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  492. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  493. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  494. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  495. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  496. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  497. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,0>::Construct )
  498. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  499. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  500. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  501. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  502. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  503. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  504. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  505. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  506. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,0>::Construct )
  507. , SchemaEntry("ifcclassificationnotationfacet",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  508. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  509. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  510. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  511. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  512. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  513. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  514. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  515. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  516. , SchemaEntry("ifcconstraintclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  517. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  518. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,0>::Construct )
  519. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  520. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  521. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  522. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  523. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  524. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  525. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  526. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  527. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,1>::Construct )
  528. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  529. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  530. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  531. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  532. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  533. , SchemaEntry("ifcannotationoccurrence",&STEP::ObjectHelper<IfcAnnotationOccurrence,0>::Construct )
  534. , SchemaEntry("ifcannotationcurveoccurrence",&STEP::ObjectHelper<IfcAnnotationCurveOccurrence,0>::Construct )
  535. , SchemaEntry("ifcdimensioncurve",&STEP::ObjectHelper<IfcDimensionCurve,0>::Construct )
  536. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  537. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  538. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  539. , SchemaEntry("ifcpredefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  540. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  541. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,2>::Construct )
  542. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  543. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<IfcContextDependentUnit,1>::Construct )
  544. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  545. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  546. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  547. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  548. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  549. , SchemaEntry("ifcgeneralmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  550. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  551. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  552. , SchemaEntry("ifcgeneralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  553. , SchemaEntry("ifcstructuralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  554. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  555. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,0>::Construct )
  556. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,0>::Construct )
  557. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  558. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  559. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  560. , SchemaEntry("ifcgasterminaltype",&STEP::ObjectHelper<IfcGasTerminalType,1>::Construct )
  561. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  562. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  563. , SchemaEntry("ifcspaceprogram",&STEP::ObjectHelper<IfcSpaceProgram,5>::Construct )
  564. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  565. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  566. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  567. , SchemaEntry("ifcclassificationitemrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  568. , SchemaEntry("ifcelectricheatertype",&STEP::ObjectHelper<IfcElectricHeaterType,1>::Construct )
  569. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  570. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  571. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  572. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  573. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  574. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,8>::Construct )
  575. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  576. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  577. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  578. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  579. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  580. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  581. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  582. , SchemaEntry("ifcdraughtingcallout",&STEP::ObjectHelper<IfcDraughtingCallout,1>::Construct )
  583. , SchemaEntry("ifcdimensioncurvedirectedcallout",&STEP::ObjectHelper<IfcDimensionCurveDirectedCallout,0>::Construct )
  584. , SchemaEntry("ifcradiusdimension",&STEP::ObjectHelper<IfcRadiusDimension,0>::Construct )
  585. , SchemaEntry("ifcedgefeature",&STEP::ObjectHelper<IfcEdgeFeature,1>::Construct )
  586. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  587. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  588. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  589. , SchemaEntry("ifcannotationtextoccurrence",&STEP::ObjectHelper<IfcAnnotationTextOccurrence,0>::Construct )
  590. , SchemaEntry("ifcreferencesvaluedocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  592. , SchemaEntry("ifcsymbolstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  593. , SchemaEntry("ifcfillareastyletilesymbolwithstyle",&STEP::ObjectHelper<IfcFillAreaStyleTileSymbolWithStyle,1>::Construct )
  594. , SchemaEntry("ifcannotationsymboloccurrence",&STEP::ObjectHelper<IfcAnnotationSymbolOccurrence,0>::Construct )
  595. , SchemaEntry("ifcterminatorsymbol",&STEP::ObjectHelper<IfcTerminatorSymbol,1>::Construct )
  596. , SchemaEntry("ifcdimensioncurveterminator",&STEP::ObjectHelper<IfcDimensionCurveTerminator,1>::Construct )
  597. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  598. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  599. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  600. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  601. , SchemaEntry("ifcopticalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  602. , SchemaEntry("ifcservicelifefactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  603. , SchemaEntry("ifcrelassignstasks",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  604. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,5>::Construct )
  605. , SchemaEntry("ifcannotationfillareaoccurrence",&STEP::ObjectHelper<IfcAnnotationFillAreaOccurrence,2>::Construct )
  606. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  607. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  608. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  609. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  610. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,4>::Construct )
  611. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,0>::Construct )
  612. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  613. , SchemaEntry("ifcpredefineddimensionsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  614. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  615. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  616. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  617. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  618. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  619. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  620. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  621. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  622. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  623. , SchemaEntry("ifclineardimension",&STEP::ObjectHelper<IfcLinearDimension,0>::Construct )
  624. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  625. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  626. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  627. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  628. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  629. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  630. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,1>::Construct )
  631. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  632. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  633. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<IfcDerivedProfileDef,3>::Construct )
  634. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  635. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  636. , SchemaEntry("ifcfurniturestandard",&STEP::ObjectHelper<IfcFurnitureStandard,0>::Construct )
  637. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  638. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,10>::Construct )
  639. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,0>::Construct )
  640. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  641. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  642. , SchemaEntry("ifccondition",&STEP::ObjectHelper<IfcCondition,0>::Construct )
  643. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  644. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<IfcRelVoidsElement,2>::Construct )
  645. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,2>::Construct )
  646. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  647. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  648. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  649. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  650. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,4>::Construct )
  651. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  652. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,1>::Construct )
  653. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  654. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  655. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  656. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  657. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  658. , SchemaEntry("ifcmechanicalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  659. , SchemaEntry("ifcmechanicalconcretematerialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  660. , SchemaEntry("ifcribplateprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  661. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  662. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  663. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  664. , SchemaEntry("ifcbeziercurve",&STEP::ObjectHelper<IfcBezierCurve,0>::Construct )
  665. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,0>::Construct )
  666. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  667. , SchemaEntry("ifcelectricdistributionpoint",&STEP::ObjectHelper<IfcElectricDistributionPoint,2>::Construct )
  668. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  669. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  670. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  671. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  672. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  673. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,0>::Construct )
  674. , SchemaEntry("ifcwaterproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  675. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  676. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  677. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  678. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  679. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,0>::Construct )
  680. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  681. , SchemaEntry("ifc2dcompositecurve",&STEP::ObjectHelper<Ifc2DCompositeCurve,0>::Construct )
  682. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  683. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  684. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  685. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  686. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  687. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  688. , SchemaEntry("ifcspacethermalloadproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  689. , SchemaEntry("ifcconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  690. , SchemaEntry("ifcbuildingelementcomponent",&STEP::ObjectHelper<IfcBuildingElementComponent,0>::Construct )
  691. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,0>::Construct )
  692. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,0>::Construct )
  693. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  694. , SchemaEntry("ifcapprovalactorrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  695. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  696. , SchemaEntry("ifcdefinedsymbol",&STEP::ObjectHelper<IfcDefinedSymbol,2>::Construct )
  697. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,2>::Construct )
  698. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  699. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  700. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  701. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  702. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  703. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,1>::Construct )
  704. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,8>::Construct )
  705. , SchemaEntry("ifccoordinateduniversaltimeoffset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  706. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  707. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  708. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  709. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  710. , SchemaEntry("ifcstructuralplanaractionvarying",&STEP::ObjectHelper<IfcStructuralPlanarActionVarying,2>::Construct )
  711. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  712. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  713. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  714. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  715. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  716. , SchemaEntry("ifcapprovalpropertyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  717. , SchemaEntry("ifcexternallydefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  718. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  719. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,8>::Construct )
  720. , SchemaEntry("ifcorderaction",&STEP::ObjectHelper<IfcOrderAction,1>::Construct )
  721. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  722. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  723. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  724. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  725. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  726. , SchemaEntry("ifcchamferedgefeature",&STEP::ObjectHelper<IfcChamferEdgeFeature,2>::Construct )
  727. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  728. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  729. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  730. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,0>::Construct )
  731. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,0>::Construct )
  732. , SchemaEntry("ifcscheduletimecontrol",&STEP::ObjectHelper<IfcScheduleTimeControl,18>::Construct )
  733. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  734. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  735. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  736. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  737. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,2>::Construct )
  738. , SchemaEntry("ifctimeseriesreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  739. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  740. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<IfcCompositeProfileDef,2>::Construct )
  741. , SchemaEntry("ifcelectricalbaseproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  742. , SchemaEntry("ifcpredefinedpointmarkersymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  743. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  744. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  745. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  746. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  747. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  748. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  749. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  750. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  751. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  752. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  753. , SchemaEntry("ifcpropertyconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  754. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,1>::Construct )
  755. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  756. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  757. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  758. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  759. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,4>::Construct )
  760. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  761. , SchemaEntry("ifcrelinteractionrequirements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  762. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  763. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  764. , SchemaEntry("ifcconnectionportgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  765. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,0>::Construct )
  766. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  767. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  768. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,0>::Construct )
  769. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  770. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,2>::Construct )
  771. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  772. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  773. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  774. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  775. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  776. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  777. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  778. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  779. , SchemaEntry("ifcrelconnectsstructuralelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  780. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  781. , SchemaEntry("ifcrelassociatesprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  782. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  783. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  784. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  785. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  786. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,0>::Construct )
  787. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  788. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  789. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  790. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  791. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  792. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  793. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  794. , SchemaEntry("ifcmechanicalsteelmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  795. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  796. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  797. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  798. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  799. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  800. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  801. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  802. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  803. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  804. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  805. , SchemaEntry("ifcprojectioncurve",&STEP::ObjectHelper<IfcProjectionCurve,0>::Construct )
  806. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  807. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<IfcRelFillsElement,2>::Construct )
  808. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  809. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  810. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  811. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  812. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,1>::Construct )
  813. , SchemaEntry("ifcstructurallinearactionvarying",&STEP::ObjectHelper<IfcStructuralLinearActionVarying,2>::Construct )
  814. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  815. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,0>::Construct )
  816. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,2>::Construct )
  817. , SchemaEntry("ifcfuelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  818. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  819. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  820. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,0>::Construct )
  821. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,0>::Construct )
  822. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,0>::Construct )
  823. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  824. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  825. , SchemaEntry("ifcrelassociatesappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  826. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  827. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  828. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  829. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  830. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  831. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  832. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  833. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  834. , SchemaEntry("ifcextendedmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  835. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  836. , SchemaEntry("ifcreloccupiesspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  837. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  838. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  839. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  840. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  841. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,4>::Construct )
  842. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  843. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  844. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  845. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  846. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  847. , SchemaEntry("ifcequipmentstandard",&STEP::ObjectHelper<IfcEquipmentStandard,0>::Construct )
  848. , SchemaEntry("ifchygroscopicmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  849. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  850. , SchemaEntry("ifcdiameterdimension",&STEP::ObjectHelper<IfcDiameterDimension,0>::Construct )
  851. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  852. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  853. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,2>::Construct )
  854. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  856. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,0>::Construct )
  857. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  858. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  859. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  860. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  861. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  862. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  863. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  864. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  865. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  866. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  867. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  868. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  869. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  870. , SchemaEntry("ifcannotationsurfaceoccurrence",&STEP::ObjectHelper<IfcAnnotationSurfaceOccurrence,0>::Construct )
  871. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  872. , SchemaEntry("ifcclassificationnotation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  873. , SchemaEntry("ifcrationalbeziercurve",&STEP::ObjectHelper<IfcRationalBezierCurve,1>::Construct )
  874. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  875. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  876. , SchemaEntry("ifcmove",&STEP::ObjectHelper<IfcMove,3>::Construct )
  877. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  878. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  879. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  880. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  881. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  882. , SchemaEntry("ifcelectricalelement",&STEP::ObjectHelper<IfcElectricalElement,0>::Construct )
  883. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  884. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  885. , SchemaEntry("ifctextstylewithboxcharacteristics",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  886. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  887. , SchemaEntry("ifcrelschedulescostitems",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  888. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  889. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  890. , SchemaEntry("ifcsoundvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  891. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,6>::Construct )
  892. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,1>::Construct )
  893. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  894. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  895. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  896. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  897. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  898. , SchemaEntry("ifcdocumentelectronicformat",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  899. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  900. , SchemaEntry("ifcequipmentelement",&STEP::ObjectHelper<IfcEquipmentElement,0>::Construct )
  901. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  902. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  903. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  904. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,0>::Construct )
  905. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  906. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  907. , SchemaEntry("ifcvertexbasedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  908. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  909. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  910. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  911. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  912. , SchemaEntry("ifccranerailashapeprofiledef",&STEP::ObjectHelper<IfcCraneRailAShapeProfileDef,12>::Construct )
  913. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  914. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  915. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  916. , SchemaEntry("ifcdraughtingpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  917. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  918. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  919. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  920. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  921. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  922. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  923. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  924. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  925. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  926. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  927. , SchemaEntry("ifcstructuralsteelprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  928. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  929. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  930. , SchemaEntry("ifcannotationsurface",&STEP::ObjectHelper<IfcAnnotationSurface,2>::Construct )
  931. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  932. , SchemaEntry("ifcservicelife",&STEP::ObjectHelper<IfcServiceLife,2>::Construct )
  933. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  934. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  935. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  936. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  937. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  938. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  939. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  940. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  941. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  942. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  943. , SchemaEntry("ifcprojectorderrecord",&STEP::ObjectHelper<IfcProjectOrderRecord,2>::Construct )
  944. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  945. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  946. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,0>::Construct )
  947. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  948. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  949. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  950. , SchemaEntry("ifctimeseriesschedule",&STEP::ObjectHelper<IfcTimeSeriesSchedule,3>::Construct )
  951. , SchemaEntry("ifcroundededgefeature",&STEP::ObjectHelper<IfcRoundedEdgeFeature,1>::Construct )
  952. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  953. , SchemaEntry("ifcreloverridesproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  954. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  955. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,5>::Construct )
  956. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  957. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  959. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  960. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  961. , SchemaEntry("ifcclassificationitem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  962. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  963. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  964. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,2>::Construct )
  965. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  966. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  967. , SchemaEntry("ifcangulardimension",&STEP::ObjectHelper<IfcAngularDimension,0>::Construct )
  968. , SchemaEntry("ifcthermalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  969. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  970. , SchemaEntry("ifccranerailfshapeprofiledef",&STEP::ObjectHelper<IfcCraneRailFShapeProfileDef,9>::Construct )
  971. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  972. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,10>::Construct )
  973. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  974. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  975. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  976. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  977. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,0>::Construct )
  978. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  979. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,0>::Construct )
  980. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,3>::Construct )
  981. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  982. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  983. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,8>::Construct )
  984. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  985. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  986. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  987. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  989. , SchemaEntry("ifcpredefinedterminatorsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  990. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  991. , SchemaEntry("ifcconstraintaggregationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  992. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  993. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  994. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  995. , SchemaEntry("ifcappliedvaluerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  996. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  997. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  998. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  999. , SchemaEntry("ifcdimensionpair",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1000. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  1001. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1002. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  1003. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  1004. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  1005. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  1006. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1007. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,1>::Construct )
  1008. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,0>::Construct )
  1009. , SchemaEntry("ifcstructureddimensioncallout",&STEP::ObjectHelper<IfcStructuredDimensionCallout,0>::Construct )
  1010. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  1011. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1012. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  1013. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1014. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  1015. , SchemaEntry("ifcproductsofcombustionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1016. , SchemaEntry("ifcrelaxation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1017. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  1018. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1019. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  1020. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,4>::Construct )
  1021. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  1022. };
  1023. }
  1024. // -----------------------------------------------------------------------------------------------------------
  1025. void IFC::GetSchema(EXPRESS::ConversionSchema& out)
  1026. {
  1027. out = EXPRESS::ConversionSchema(schema_raw);
  1028. }
  1029. namespace STEP {
  1030. // -----------------------------------------------------------------------------------------------------------
  1031. template <> size_t GenericFill<NotImplemented>(const STEP::DB& db, const LIST& params, NotImplemented* in)
  1032. {
  1033. return 0;
  1034. }
  1035. // -----------------------------------------------------------------------------------------------------------
  1036. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1037. {
  1038. size_t base = 0;
  1039. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1040. boost::shared_ptr<const DataType> arg = params[base++];
  1041. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1042. try { GenericConvert( in->GlobalId, arg, db ); break; }
  1043. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1044. } while(0);
  1045. do { // convert the 'OwnerHistory' argument
  1046. boost::shared_ptr<const DataType> arg = params[base++];
  1047. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1048. try { GenericConvert( in->OwnerHistory, arg, db ); break; }
  1049. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1050. } while(0);
  1051. do { // convert the 'Name' argument
  1052. boost::shared_ptr<const DataType> arg = params[base++];
  1053. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1054. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1055. try { GenericConvert( in->Name, arg, db ); break; }
  1056. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1057. } while(0);
  1058. do { // convert the 'Description' argument
  1059. boost::shared_ptr<const DataType> arg = params[base++];
  1060. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1061. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1062. try { GenericConvert( in->Description, arg, db ); break; }
  1063. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1064. } while(0);
  1065. return base;
  1066. }
  1067. // -----------------------------------------------------------------------------------------------------------
  1068. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1069. {
  1070. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1071. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1072. }
  1073. // -----------------------------------------------------------------------------------------------------------
  1074. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1075. {
  1076. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1077. // this data structure is not used yet, so there is no code generated to fill its members
  1078. return base;
  1079. }
  1080. // -----------------------------------------------------------------------------------------------------------
  1081. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1082. {
  1083. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1084. // this data structure is not used yet, so there is no code generated to fill its members
  1085. return base;
  1086. }
  1087. // -----------------------------------------------------------------------------------------------------------
  1088. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1089. {
  1090. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1091. // this data structure is not used yet, so there is no code generated to fill its members
  1092. return base;
  1093. }
  1094. // -----------------------------------------------------------------------------------------------------------
  1095. template <> size_t GenericFill<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  1096. {
  1097. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1098. // this data structure is not used yet, so there is no code generated to fill its members
  1099. return base;
  1100. }
  1101. // -----------------------------------------------------------------------------------------------------------
  1102. template <> size_t GenericFill<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  1103. {
  1104. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  1105. // this data structure is not used yet, so there is no code generated to fill its members
  1106. return base;
  1107. }
  1108. // -----------------------------------------------------------------------------------------------------------
  1109. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1110. {
  1111. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1112. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1113. boost::shared_ptr<const DataType> arg = params[base++];
  1114. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1115. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1116. try { GenericConvert( in->ObjectType, arg, db ); break; }
  1117. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1118. } while(0);
  1119. return base;
  1120. }
  1121. // -----------------------------------------------------------------------------------------------------------
  1122. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1123. {
  1124. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1125. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1126. boost::shared_ptr<const DataType> arg = params[base++];
  1127. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1128. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1129. try { GenericConvert( in->ObjectPlacement, arg, db ); break; }
  1130. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1131. } while(0);
  1132. do { // convert the 'Representation' argument
  1133. boost::shared_ptr<const DataType> arg = params[base++];
  1134. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1135. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1136. try { GenericConvert( in->Representation, arg, db ); break; }
  1137. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1138. } while(0);
  1139. return base;
  1140. }
  1141. // -----------------------------------------------------------------------------------------------------------
  1142. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  1143. {
  1144. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1145. // this data structure is not used yet, so there is no code generated to fill its members
  1146. return base;
  1147. }
  1148. // -----------------------------------------------------------------------------------------------------------
  1149. template <> size_t GenericFill<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1150. {
  1151. size_t base = 0;
  1152. return base;
  1153. }
  1154. // -----------------------------------------------------------------------------------------------------------
  1155. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1156. {
  1157. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1158. return base;
  1159. }
  1160. // -----------------------------------------------------------------------------------------------------------
  1161. template <> size_t GenericFill<IfcOneDirectionRepeatFactor>(const DB& db, const LIST& params, IfcOneDirectionRepeatFactor* in)
  1162. {
  1163. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1164. // this data structure is not used yet, so there is no code generated to fill its members
  1165. return base;
  1166. }
  1167. // -----------------------------------------------------------------------------------------------------------
  1168. template <> size_t GenericFill<IfcTwoDirectionRepeatFactor>(const DB& db, const LIST& params, IfcTwoDirectionRepeatFactor* in)
  1169. {
  1170. size_t base = GenericFill(db,params,static_cast<IfcOneDirectionRepeatFactor*>(in));
  1171. // this data structure is not used yet, so there is no code generated to fill its members
  1172. return base;
  1173. }
  1174. // -----------------------------------------------------------------------------------------------------------
  1175. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1176. {
  1177. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1178. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1179. boost::shared_ptr<const DataType> arg = params[base++];
  1180. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1181. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1182. try { GenericConvert( in->Tag, arg, db ); break; }
  1183. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1184. } while(0);
  1185. return base;
  1186. }
  1187. // -----------------------------------------------------------------------------------------------------------
  1188. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  1189. {
  1190. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1191. // this data structure is not used yet, so there is no code generated to fill its members
  1192. return base;
  1193. }
  1194. // -----------------------------------------------------------------------------------------------------------
  1195. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  1196. {
  1197. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1198. // this data structure is not used yet, so there is no code generated to fill its members
  1199. return base;
  1200. }
  1201. // -----------------------------------------------------------------------------------------------------------
  1202. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1203. {
  1204. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1205. // this data structure is not used yet, so there is no code generated to fill its members
  1206. return base;
  1207. }
  1208. // -----------------------------------------------------------------------------------------------------------
  1209. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1210. {
  1211. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1212. // this data structure is not used yet, so there is no code generated to fill its members
  1213. return base;
  1214. }
  1215. // -----------------------------------------------------------------------------------------------------------
  1216. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1217. {
  1218. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1219. // this data structure is not used yet, so there is no code generated to fill its members
  1220. return base;
  1221. }
  1222. // -----------------------------------------------------------------------------------------------------------
  1223. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1224. {
  1225. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1226. // this data structure is not used yet, so there is no code generated to fill its members
  1227. return base;
  1228. }
  1229. // -----------------------------------------------------------------------------------------------------------
  1230. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1231. {
  1232. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1233. // this data structure is not used yet, so there is no code generated to fill its members
  1234. return base;
  1235. }
  1236. // -----------------------------------------------------------------------------------------------------------
  1237. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  1238. {
  1239. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1240. // this data structure is not used yet, so there is no code generated to fill its members
  1241. return base;
  1242. }
  1243. // -----------------------------------------------------------------------------------------------------------
  1244. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1245. {
  1246. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1247. // this data structure is not used yet, so there is no code generated to fill its members
  1248. return base;
  1249. }
  1250. // -----------------------------------------------------------------------------------------------------------
  1251. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  1252. {
  1253. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1254. // this data structure is not used yet, so there is no code generated to fill its members
  1255. return base;
  1256. }
  1257. // -----------------------------------------------------------------------------------------------------------
  1258. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1259. {
  1260. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1261. return base;
  1262. }
  1263. // -----------------------------------------------------------------------------------------------------------
  1264. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1265. {
  1266. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1267. // this data structure is not used yet, so there is no code generated to fill its members
  1268. return base;
  1269. }
  1270. // -----------------------------------------------------------------------------------------------------------
  1271. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  1272. {
  1273. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  1274. // this data structure is not used yet, so there is no code generated to fill its members
  1275. return base;
  1276. }
  1277. // -----------------------------------------------------------------------------------------------------------
  1278. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1279. {
  1280. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1281. // this data structure is not used yet, so there is no code generated to fill its members
  1282. return base;
  1283. }
  1284. // -----------------------------------------------------------------------------------------------------------
  1285. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  1286. {
  1287. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1288. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  1289. }
  1290. // -----------------------------------------------------------------------------------------------------------
  1291. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1292. {
  1293. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1294. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1295. boost::shared_ptr<const DataType> arg = params[base++];
  1296. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  1297. try { GenericConvert( in->BaseSurface, arg, db ); break; }
  1298. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  1299. } while(0);
  1300. do { // convert the 'AgreementFlag' argument
  1301. boost::shared_ptr<const DataType> arg = params[base++];
  1302. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  1303. try { GenericConvert( in->AgreementFlag, arg, db ); break; }
  1304. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `BOOLEAN`")); }
  1305. } while(0);
  1306. return base;
  1307. }
  1308. // -----------------------------------------------------------------------------------------------------------
  1309. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  1310. {
  1311. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  1312. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPolygonalBoundedHalfSpace"); } do { // convert the 'Position' argument
  1313. boost::shared_ptr<const DataType> arg = params[base++];
  1314. try { GenericConvert( in->Position, arg, db ); break; }
  1315. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPolygonalBoundedHalfSpace to be a `IfcAxis2Placement3D`")); }
  1316. } while(0);
  1317. do { // convert the 'PolygonalBoundary' argument
  1318. boost::shared_ptr<const DataType> arg = params[base++];
  1319. try { GenericConvert( in->PolygonalBoundary, arg, db ); break; }
  1320. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPolygonalBoundedHalfSpace to be a `IfcBoundedCurve`")); }
  1321. } while(0);
  1322. return base;
  1323. }
  1324. // -----------------------------------------------------------------------------------------------------------
  1325. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1326. {
  1327. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1328. // this data structure is not used yet, so there is no code generated to fill its members
  1329. return base;
  1330. }
  1331. // -----------------------------------------------------------------------------------------------------------
  1332. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  1333. {
  1334. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1335. // this data structure is not used yet, so there is no code generated to fill its members
  1336. return base;
  1337. }
  1338. // -----------------------------------------------------------------------------------------------------------
  1339. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  1340. {
  1341. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1342. // this data structure is not used yet, so there is no code generated to fill its members
  1343. return base;
  1344. }
  1345. // -----------------------------------------------------------------------------------------------------------
  1346. template <> size_t GenericFill<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  1347. {
  1348. size_t base = 0;
  1349. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  1350. boost::shared_ptr<const DataType> arg = params[base++];
  1351. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  1352. try { GenericConvert( in->ContextOfItems, arg, db ); break; }
  1353. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  1354. } while(0);
  1355. do { // convert the 'RepresentationIdentifier' argument
  1356. boost::shared_ptr<const DataType> arg = params[base++];
  1357. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  1358. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1359. try { GenericConvert( in->RepresentationIdentifier, arg, db ); break; }
  1360. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  1361. } while(0);
  1362. do { // convert the 'RepresentationType' argument
  1363. boost::shared_ptr<const DataType> arg = params[base++];
  1364. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  1365. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1366. try { GenericConvert( in->RepresentationType, arg, db ); break; }
  1367. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  1368. } while(0);
  1369. do { // convert the 'Items' argument
  1370. boost::shared_ptr<const DataType> arg = params[base++];
  1371. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  1372. try { GenericConvert( in->Items, arg, db ); break; }
  1373. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  1374. } while(0);
  1375. return base;
  1376. }
  1377. // -----------------------------------------------------------------------------------------------------------
  1378. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  1379. {
  1380. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  1381. // this data structure is not used yet, so there is no code generated to fill its members
  1382. return base;
  1383. }
  1384. // -----------------------------------------------------------------------------------------------------------
  1385. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  1386. {
  1387. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  1388. // this data structure is not used yet, so there is no code generated to fill its members
  1389. return base;
  1390. }
  1391. // -----------------------------------------------------------------------------------------------------------
  1392. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1393. {
  1394. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1395. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1396. boost::shared_ptr<const DataType> arg = params[base++];
  1397. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1398. try { GenericConvert( in->Operator, arg, db ); break; }
  1399. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1400. } while(0);
  1401. do { // convert the 'FirstOperand' argument
  1402. boost::shared_ptr<const DataType> arg = params[base++];
  1403. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1404. try { GenericConvert( in->FirstOperand, arg, db ); break; }
  1405. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1406. } while(0);
  1407. do { // convert the 'SecondOperand' argument
  1408. boost::shared_ptr<const DataType> arg = params[base++];
  1409. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1410. try { GenericConvert( in->SecondOperand, arg, db ); break; }
  1411. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1412. } while(0);
  1413. return base;
  1414. }
  1415. // -----------------------------------------------------------------------------------------------------------
  1416. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  1417. {
  1418. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1419. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElement"); } return base;
  1420. }
  1421. // -----------------------------------------------------------------------------------------------------------
  1422. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  1423. {
  1424. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1425. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElementSubtraction"); } return base;
  1426. }
  1427. // -----------------------------------------------------------------------------------------------------------
  1428. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  1429. {
  1430. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  1431. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcOpeningElement"); } return base;
  1432. }
  1433. // -----------------------------------------------------------------------------------------------------------
  1434. template <> size_t GenericFill<IfcConditionCriterion>(const DB& db, const LIST& params, IfcConditionCriterion* in)
  1435. {
  1436. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1437. // this data structure is not used yet, so there is no code generated to fill its members
  1438. return base;
  1439. }
  1440. // -----------------------------------------------------------------------------------------------------------
  1441. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1442. {
  1443. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1444. // this data structure is not used yet, so there is no code generated to fill its members
  1445. return base;
  1446. }
  1447. // -----------------------------------------------------------------------------------------------------------
  1448. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1449. {
  1450. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1451. // this data structure is not used yet, so there is no code generated to fill its members
  1452. return base;
  1453. }
  1454. // -----------------------------------------------------------------------------------------------------------
  1455. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  1456. {
  1457. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1458. // this data structure is not used yet, so there is no code generated to fill its members
  1459. return base;
  1460. }
  1461. // -----------------------------------------------------------------------------------------------------------
  1462. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  1463. {
  1464. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1465. // this data structure is not used yet, so there is no code generated to fill its members
  1466. return base;
  1467. }
  1468. // -----------------------------------------------------------------------------------------------------------
  1469. template <> size_t GenericFill<IfcElectricalCircuit>(const DB& db, const LIST& params, IfcElectricalCircuit* in)
  1470. {
  1471. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  1472. // this data structure is not used yet, so there is no code generated to fill its members
  1473. return base;
  1474. }
  1475. // -----------------------------------------------------------------------------------------------------------
  1476. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  1477. {
  1478. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1479. // this data structure is not used yet, so there is no code generated to fill its members
  1480. return base;
  1481. }
  1482. // -----------------------------------------------------------------------------------------------------------
  1483. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  1484. {
  1485. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1486. // this data structure is not used yet, so there is no code generated to fill its members
  1487. return base;
  1488. }
  1489. // -----------------------------------------------------------------------------------------------------------
  1490. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1491. {
  1492. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1493. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1494. boost::shared_ptr<const DataType> arg = params[base++];
  1495. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1496. try { GenericConvert( in->Location, arg, db ); break; }
  1497. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1498. } while(0);
  1499. return base;
  1500. }
  1501. // -----------------------------------------------------------------------------------------------------------
  1502. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1503. {
  1504. size_t base = 0;
  1505. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1506. boost::shared_ptr<const DataType> arg = params[base++];
  1507. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1508. try { GenericConvert( in->ProfileType, arg, db ); break; }
  1509. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1510. } while(0);
  1511. do { // convert the 'ProfileName' argument
  1512. boost::shared_ptr<const DataType> arg = params[base++];
  1513. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1514. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1515. try { GenericConvert( in->ProfileName, arg, db ); break; }
  1516. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1517. } while(0);
  1518. return base;
  1519. }
  1520. // -----------------------------------------------------------------------------------------------------------
  1521. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1522. {
  1523. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1524. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1525. boost::shared_ptr<const DataType> arg = params[base++];
  1526. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1527. try { GenericConvert( in->OuterCurve, arg, db ); break; }
  1528. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1529. } while(0);
  1530. return base;
  1531. }
  1532. // -----------------------------------------------------------------------------------------------------------
  1533. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1534. {
  1535. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1536. return base;
  1537. }
  1538. // -----------------------------------------------------------------------------------------------------------
  1539. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  1540. {
  1541. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1542. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConic"); } do { // convert the 'Position' argument
  1543. boost::shared_ptr<const DataType> arg = params[base++];
  1544. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConic,1>::aux_is_derived[0]=true; break; }
  1545. try { GenericConvert( in->Position, arg, db ); break; }
  1546. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConic to be a `IfcAxis2Placement`")); }
  1547. } while(0);
  1548. return base;
  1549. }
  1550. // -----------------------------------------------------------------------------------------------------------
  1551. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  1552. {
  1553. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  1554. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCircle"); } do { // convert the 'Radius' argument
  1555. boost::shared_ptr<const DataType> arg = params[base++];
  1556. try { GenericConvert( in->Radius, arg, db ); break; }
  1557. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCircle to be a `IfcPositiveLengthMeasure`")); }
  1558. } while(0);
  1559. return base;
  1560. }
  1561. // -----------------------------------------------------------------------------------------------------------
  1562. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  1563. {
  1564. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1565. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  1566. boost::shared_ptr<const DataType> arg = params[base++];
  1567. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  1568. try { GenericConvert( in->Position, arg, db ); break; }
  1569. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  1570. } while(0);
  1571. return base;
  1572. }
  1573. // -----------------------------------------------------------------------------------------------------------
  1574. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  1575. {
  1576. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  1577. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  1578. }
  1579. // -----------------------------------------------------------------------------------------------------------
  1580. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  1581. {
  1582. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1583. // this data structure is not used yet, so there is no code generated to fill its members
  1584. return base;
  1585. }
  1586. // -----------------------------------------------------------------------------------------------------------
  1587. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  1588. {
  1589. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1590. // this data structure is not used yet, so there is no code generated to fill its members
  1591. return base;
  1592. }
  1593. // -----------------------------------------------------------------------------------------------------------
  1594. template <> size_t GenericFill<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  1595. {
  1596. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1597. // this data structure is not used yet, so there is no code generated to fill its members
  1598. return base;
  1599. }
  1600. // -----------------------------------------------------------------------------------------------------------
  1601. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1602. {
  1603. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1604. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1605. }
  1606. // -----------------------------------------------------------------------------------------------------------
  1607. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  1608. {
  1609. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1610. // this data structure is not used yet, so there is no code generated to fill its members
  1611. return base;
  1612. }
  1613. // -----------------------------------------------------------------------------------------------------------
  1614. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  1615. {
  1616. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1617. // this data structure is not used yet, so there is no code generated to fill its members
  1618. return base;
  1619. }
  1620. // -----------------------------------------------------------------------------------------------------------
  1621. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  1622. {
  1623. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1624. // this data structure is not used yet, so there is no code generated to fill its members
  1625. return base;
  1626. }
  1627. // -----------------------------------------------------------------------------------------------------------
  1628. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  1629. {
  1630. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  1631. // this data structure is not used yet, so there is no code generated to fill its members
  1632. return base;
  1633. }
  1634. // -----------------------------------------------------------------------------------------------------------
  1635. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  1636. {
  1637. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  1638. // this data structure is not used yet, so there is no code generated to fill its members
  1639. return base;
  1640. }
  1641. // -----------------------------------------------------------------------------------------------------------
  1642. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  1643. {
  1644. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1645. return base;
  1646. }
  1647. // -----------------------------------------------------------------------------------------------------------
  1648. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  1649. {
  1650. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1651. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  1652. boost::shared_ptr<const DataType> arg = params[base++];
  1653. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  1654. try { GenericConvert( in->CfsFaces, arg, db ); break; }
  1655. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  1656. } while(0);
  1657. return base;
  1658. }
  1659. // -----------------------------------------------------------------------------------------------------------
  1660. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  1661. {
  1662. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1663. // this data structure is not used yet, so there is no code generated to fill its members
  1664. return base;
  1665. }
  1666. // -----------------------------------------------------------------------------------------------------------
  1667. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  1668. {
  1669. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  1670. // this data structure is not used yet, so there is no code generated to fill its members
  1671. return base;
  1672. }
  1673. // -----------------------------------------------------------------------------------------------------------
  1674. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1675. {
  1676. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1677. // this data structure is not used yet, so there is no code generated to fill its members
  1678. return base;
  1679. }
  1680. // -----------------------------------------------------------------------------------------------------------
  1681. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  1682. {
  1683. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1684. // this data structure is not used yet, so there is no code generated to fill its members
  1685. return base;
  1686. }
  1687. // -----------------------------------------------------------------------------------------------------------
  1688. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  1689. {
  1690. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  1691. // this data structure is not used yet, so there is no code generated to fill its members
  1692. return base;
  1693. }
  1694. // -----------------------------------------------------------------------------------------------------------
  1695. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  1696. {
  1697. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1698. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcVector"); } do { // convert the 'Orientation' argument
  1699. boost::shared_ptr<const DataType> arg = params[base++];
  1700. try { GenericConvert( in->Orientation, arg, db ); break; }
  1701. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcVector to be a `IfcDirection`")); }
  1702. } while(0);
  1703. do { // convert the 'Magnitude' argument
  1704. boost::shared_ptr<const DataType> arg = params[base++];
  1705. try { GenericConvert( in->Magnitude, arg, db ); break; }
  1706. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcVector to be a `IfcLengthMeasure`")); }
  1707. } while(0);
  1708. return base;
  1709. }
  1710. // -----------------------------------------------------------------------------------------------------------
  1711. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  1712. {
  1713. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1714. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  1715. boost::shared_ptr<const DataType> arg = params[base++];
  1716. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  1717. try { GenericConvert( in->Bound, arg, db ); break; }
  1718. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  1719. } while(0);
  1720. do { // convert the 'Orientation' argument
  1721. boost::shared_ptr<const DataType> arg = params[base++];
  1722. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  1723. try { GenericConvert( in->Orientation, arg, db ); break; }
  1724. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `BOOLEAN`")); }
  1725. } while(0);
  1726. return base;
  1727. }
  1728. // -----------------------------------------------------------------------------------------------------------
  1729. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  1730. {
  1731. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  1732. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceOuterBound"); } return base;
  1733. }
  1734. // -----------------------------------------------------------------------------------------------------------
  1735. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  1736. {
  1737. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1738. // this data structure is not used yet, so there is no code generated to fill its members
  1739. return base;
  1740. }
  1741. // -----------------------------------------------------------------------------------------------------------
  1742. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  1743. {
  1744. size_t base = 0;
  1745. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  1746. boost::shared_ptr<const DataType> arg = params[base++];
  1747. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  1748. try { GenericConvert( in->Dimensions, arg, db ); break; }
  1749. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  1750. } while(0);
  1751. do { // convert the 'UnitType' argument
  1752. boost::shared_ptr<const DataType> arg = params[base++];
  1753. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  1754. try { GenericConvert( in->UnitType, arg, db ); break; }
  1755. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  1756. } while(0);
  1757. return base;
  1758. }
  1759. // -----------------------------------------------------------------------------------------------------------
  1760. template <> size_t GenericFill<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  1761. {
  1762. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  1763. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  1764. boost::shared_ptr<const DataType> arg = params[base++];
  1765. try { GenericConvert( in->Name, arg, db ); break; }
  1766. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  1767. } while(0);
  1768. do { // convert the 'ConversionFactor' argument
  1769. boost::shared_ptr<const DataType> arg = params[base++];
  1770. try { GenericConvert( in->ConversionFactor, arg, db ); break; }
  1771. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  1772. } while(0);
  1773. return base;
  1774. }
  1775. // -----------------------------------------------------------------------------------------------------------
  1776. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  1777. {
  1778. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1779. // this data structure is not used yet, so there is no code generated to fill its members
  1780. return base;
  1781. }
  1782. // -----------------------------------------------------------------------------------------------------------
  1783. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  1784. {
  1785. size_t base = 0;
  1786. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  1787. boost::shared_ptr<const DataType> arg = params[base++];
  1788. try { GenericConvert( in->Styles, arg, db ); break; }
  1789. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  1790. } while(0);
  1791. return base;
  1792. }
  1793. // -----------------------------------------------------------------------------------------------------------
  1794. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  1795. {
  1796. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1797. // this data structure is not used yet, so there is no code generated to fill its members
  1798. return base;
  1799. }
  1800. // -----------------------------------------------------------------------------------------------------------
  1801. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  1802. {
  1803. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  1804. // this data structure is not used yet, so there is no code generated to fill its members
  1805. return base;
  1806. }
  1807. // -----------------------------------------------------------------------------------------------------------
  1808. template <> size_t GenericFill<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  1809. {
  1810. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1811. // this data structure is not used yet, so there is no code generated to fill its members
  1812. return base;
  1813. }
  1814. // -----------------------------------------------------------------------------------------------------------
  1815. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  1816. {
  1817. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1818. // this data structure is not used yet, so there is no code generated to fill its members
  1819. return base;
  1820. }
  1821. // -----------------------------------------------------------------------------------------------------------
  1822. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  1823. {
  1824. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1825. // this data structure is not used yet, so there is no code generated to fill its members
  1826. return base;
  1827. }
  1828. // -----------------------------------------------------------------------------------------------------------
  1829. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  1830. {
  1831. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1832. // this data structure is not used yet, so there is no code generated to fill its members
  1833. return base;
  1834. }
  1835. // -----------------------------------------------------------------------------------------------------------
  1836. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  1837. {
  1838. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  1839. // this data structure is not used yet, so there is no code generated to fill its members
  1840. return base;
  1841. }
  1842. // -----------------------------------------------------------------------------------------------------------
  1843. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  1844. {
  1845. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1846. // this data structure is not used yet, so there is no code generated to fill its members
  1847. return base;
  1848. }
  1849. // -----------------------------------------------------------------------------------------------------------
  1850. template <> size_t GenericFill<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  1851. {
  1852. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1853. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLine"); } do { // convert the 'Pnt' argument
  1854. boost::shared_ptr<const DataType> arg = params[base++];
  1855. try { GenericConvert( in->Pnt, arg, db ); break; }
  1856. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLine to be a `IfcCartesianPoint`")); }
  1857. } while(0);
  1858. do { // convert the 'Dir' argument
  1859. boost::shared_ptr<const DataType> arg = params[base++];
  1860. try { GenericConvert( in->Dir, arg, db ); break; }
  1861. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLine to be a `IfcVector`")); }
  1862. } while(0);
  1863. return base;
  1864. }
  1865. // -----------------------------------------------------------------------------------------------------------
  1866. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  1867. {
  1868. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1869. // this data structure is not used yet, so there is no code generated to fill its members
  1870. return base;
  1871. }
  1872. // -----------------------------------------------------------------------------------------------------------
  1873. template <> size_t GenericFill<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  1874. {
  1875. size_t base = 0;
  1876. return base;
  1877. }
  1878. // -----------------------------------------------------------------------------------------------------------
  1879. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  1880. {
  1881. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  1882. // this data structure is not used yet, so there is no code generated to fill its members
  1883. return base;
  1884. }
  1885. // -----------------------------------------------------------------------------------------------------------
  1886. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1887. {
  1888. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1889. // this data structure is not used yet, so there is no code generated to fill its members
  1890. return base;
  1891. }
  1892. // -----------------------------------------------------------------------------------------------------------
  1893. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  1894. {
  1895. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  1896. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  1897. }
  1898. // -----------------------------------------------------------------------------------------------------------
  1899. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1900. {
  1901. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1902. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcAnnotation"); } return base;
  1903. }
  1904. // -----------------------------------------------------------------------------------------------------------
  1905. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  1906. {
  1907. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1908. // this data structure is not used yet, so there is no code generated to fill its members
  1909. return base;
  1910. }
  1911. // -----------------------------------------------------------------------------------------------------------
  1912. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  1913. {
  1914. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1915. return base;
  1916. }
  1917. // -----------------------------------------------------------------------------------------------------------
  1918. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  1919. {
  1920. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  1921. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  1922. boost::shared_ptr<const DataType> arg = params[base++];
  1923. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  1924. try { GenericConvert( in->Outer, arg, db ); break; }
  1925. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  1926. } while(0);
  1927. return base;
  1928. }
  1929. // -----------------------------------------------------------------------------------------------------------
  1930. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  1931. {
  1932. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1933. // this data structure is not used yet, so there is no code generated to fill its members
  1934. return base;
  1935. }
  1936. // -----------------------------------------------------------------------------------------------------------
  1937. template <> size_t GenericFill<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  1938. {
  1939. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1940. // this data structure is not used yet, so there is no code generated to fill its members
  1941. return base;
  1942. }
  1943. // -----------------------------------------------------------------------------------------------------------
  1944. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  1945. {
  1946. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1947. // this data structure is not used yet, so there is no code generated to fill its members
  1948. return base;
  1949. }
  1950. // -----------------------------------------------------------------------------------------------------------
  1951. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  1952. {
  1953. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  1954. // this data structure is not used yet, so there is no code generated to fill its members
  1955. return base;
  1956. }
  1957. // -----------------------------------------------------------------------------------------------------------
  1958. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  1959. {
  1960. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  1961. // this data structure is not used yet, so there is no code generated to fill its members
  1962. return base;
  1963. }
  1964. // -----------------------------------------------------------------------------------------------------------
  1965. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  1966. {
  1967. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  1968. // this data structure is not used yet, so there is no code generated to fill its members
  1969. return base;
  1970. }
  1971. // -----------------------------------------------------------------------------------------------------------
  1972. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  1973. {
  1974. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1975. // this data structure is not used yet, so there is no code generated to fill its members
  1976. return base;
  1977. }
  1978. // -----------------------------------------------------------------------------------------------------------
  1979. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  1980. {
  1981. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1982. // this data structure is not used yet, so there is no code generated to fill its members
  1983. return base;
  1984. }
  1985. // -----------------------------------------------------------------------------------------------------------
  1986. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  1987. {
  1988. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1989. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  1990. boost::shared_ptr<const DataType> arg = params[base++];
  1991. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[0]=true; break; }
  1992. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1993. try { GenericConvert( in->Item, arg, db ); break; }
  1994. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  1995. } while(0);
  1996. do { // convert the 'Styles' argument
  1997. boost::shared_ptr<const DataType> arg = params[base++];
  1998. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[1]=true; break; }
  1999. try { GenericConvert( in->Styles, arg, db ); break; }
  2000. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcPresentationStyleAssignment`")); }
  2001. } while(0);
  2002. do { // convert the 'Name' argument
  2003. boost::shared_ptr<const DataType> arg = params[base++];
  2004. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[2]=true; break; }
  2005. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2006. try { GenericConvert( in->Name, arg, db ); break; }
  2007. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  2008. } while(0);
  2009. return base;
  2010. }
  2011. // -----------------------------------------------------------------------------------------------------------
  2012. template <> size_t GenericFill<IfcAnnotationOccurrence>(const DB& db, const LIST& params, IfcAnnotationOccurrence* in)
  2013. {
  2014. size_t base = GenericFill(db,params,static_cast<IfcStyledItem*>(in));
  2015. // this data structure is not used yet, so there is no code generated to fill its members
  2016. return base;
  2017. }
  2018. // -----------------------------------------------------------------------------------------------------------
  2019. template <> size_t GenericFill<IfcAnnotationCurveOccurrence>(const DB& db, const LIST& params, IfcAnnotationCurveOccurrence* in)
  2020. {
  2021. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2022. // this data structure is not used yet, so there is no code generated to fill its members
  2023. return base;
  2024. }
  2025. // -----------------------------------------------------------------------------------------------------------
  2026. template <> size_t GenericFill<IfcDimensionCurve>(const DB& db, const LIST& params, IfcDimensionCurve* in)
  2027. {
  2028. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  2029. // this data structure is not used yet, so there is no code generated to fill its members
  2030. return base;
  2031. }
  2032. // -----------------------------------------------------------------------------------------------------------
  2033. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  2034. {
  2035. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2036. return base;
  2037. }
  2038. // -----------------------------------------------------------------------------------------------------------
  2039. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  2040. {
  2041. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2042. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  2043. boost::shared_ptr<const DataType> arg = params[base++];
  2044. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2045. try { GenericConvert( in->Axis, arg, db ); break; }
  2046. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  2047. } while(0);
  2048. return base;
  2049. }
  2050. // -----------------------------------------------------------------------------------------------------------
  2051. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  2052. {
  2053. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  2054. // this data structure is not used yet, so there is no code generated to fill its members
  2055. return base;
  2056. }
  2057. // -----------------------------------------------------------------------------------------------------------
  2058. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  2059. {
  2060. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2061. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'LongName' argument
  2062. boost::shared_ptr<const DataType> arg = params[base++];
  2063. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[0]=true; break; }
  2064. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2065. try { GenericConvert( in->LongName, arg, db ); break; }
  2066. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialStructureElement to be a `IfcLabel`")); }
  2067. } while(0);
  2068. do { // convert the 'CompositionType' argument
  2069. boost::shared_ptr<const DataType> arg = params[base++];
  2070. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[1]=true; break; }
  2071. try { GenericConvert( in->CompositionType, arg, db ); break; }
  2072. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  2073. } while(0);
  2074. return base;
  2075. }
  2076. // -----------------------------------------------------------------------------------------------------------
  2077. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  2078. {
  2079. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2080. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'InteriorOrExteriorSpace' argument
  2081. boost::shared_ptr<const DataType> arg = params[base++];
  2082. try { GenericConvert( in->InteriorOrExteriorSpace, arg, db ); break; }
  2083. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcInternalOrExternalEnum`")); }
  2084. } while(0);
  2085. do { // convert the 'ElevationWithFlooring' argument
  2086. boost::shared_ptr<const DataType> arg = params[base++];
  2087. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2088. try { GenericConvert( in->ElevationWithFlooring, arg, db ); break; }
  2089. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  2090. } while(0);
  2091. return base;
  2092. }
  2093. // -----------------------------------------------------------------------------------------------------------
  2094. template <> size_t GenericFill<IfcContextDependentUnit>(const DB& db, const LIST& params, IfcContextDependentUnit* in)
  2095. {
  2096. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2097. // this data structure is not used yet, so there is no code generated to fill its members
  2098. return base;
  2099. }
  2100. // -----------------------------------------------------------------------------------------------------------
  2101. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2102. {
  2103. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2104. // this data structure is not used yet, so there is no code generated to fill its members
  2105. return base;
  2106. }
  2107. // -----------------------------------------------------------------------------------------------------------
  2108. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  2109. {
  2110. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  2111. // this data structure is not used yet, so there is no code generated to fill its members
  2112. return base;
  2113. }
  2114. // -----------------------------------------------------------------------------------------------------------
  2115. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  2116. {
  2117. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2118. // this data structure is not used yet, so there is no code generated to fill its members
  2119. return base;
  2120. }
  2121. // -----------------------------------------------------------------------------------------------------------
  2122. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  2123. {
  2124. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  2125. // this data structure is not used yet, so there is no code generated to fill its members
  2126. return base;
  2127. }
  2128. // -----------------------------------------------------------------------------------------------------------
  2129. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  2130. {
  2131. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2132. // this data structure is not used yet, so there is no code generated to fill its members
  2133. return base;
  2134. }
  2135. // -----------------------------------------------------------------------------------------------------------
  2136. template <> size_t GenericFill<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  2137. {
  2138. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2139. // this data structure is not used yet, so there is no code generated to fill its members
  2140. return base;
  2141. }
  2142. // -----------------------------------------------------------------------------------------------------------
  2143. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  2144. {
  2145. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2146. // this data structure is not used yet, so there is no code generated to fill its members
  2147. return base;
  2148. }
  2149. // -----------------------------------------------------------------------------------------------------------
  2150. template <> size_t GenericFill<IfcGasTerminalType>(const DB& db, const LIST& params, IfcGasTerminalType* in)
  2151. {
  2152. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2153. // this data structure is not used yet, so there is no code generated to fill its members
  2154. return base;
  2155. }
  2156. // -----------------------------------------------------------------------------------------------------------
  2157. template <> size_t GenericFill<IfcSpaceProgram>(const DB& db, const LIST& params, IfcSpaceProgram* in)
  2158. {
  2159. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2160. // this data structure is not used yet, so there is no code generated to fill its members
  2161. return base;
  2162. }
  2163. // -----------------------------------------------------------------------------------------------------------
  2164. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2165. {
  2166. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2167. // this data structure is not used yet, so there is no code generated to fill its members
  2168. return base;
  2169. }
  2170. // -----------------------------------------------------------------------------------------------------------
  2171. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2172. {
  2173. size_t base = 0;
  2174. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2175. boost::shared_ptr<const DataType> arg = params[base++];
  2176. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2177. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2178. try { GenericConvert( in->Name, arg, db ); break; }
  2179. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2180. } while(0);
  2181. return base;
  2182. }
  2183. // -----------------------------------------------------------------------------------------------------------
  2184. template <> size_t GenericFill<IfcElectricHeaterType>(const DB& db, const LIST& params, IfcElectricHeaterType* in)
  2185. {
  2186. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2187. // this data structure is not used yet, so there is no code generated to fill its members
  2188. return base;
  2189. }
  2190. // -----------------------------------------------------------------------------------------------------------
  2191. template <> size_t GenericFill<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  2192. {
  2193. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2194. // this data structure is not used yet, so there is no code generated to fill its members
  2195. return base;
  2196. }
  2197. // -----------------------------------------------------------------------------------------------------------
  2198. template <> size_t GenericFill<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  2199. {
  2200. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2201. // this data structure is not used yet, so there is no code generated to fill its members
  2202. return base;
  2203. }
  2204. // -----------------------------------------------------------------------------------------------------------
  2205. template <> size_t GenericFill<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  2206. {
  2207. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(in));
  2208. // this data structure is not used yet, so there is no code generated to fill its members
  2209. return base;
  2210. }
  2211. // -----------------------------------------------------------------------------------------------------------
  2212. template <> size_t GenericFill<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  2213. {
  2214. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  2215. // this data structure is not used yet, so there is no code generated to fill its members
  2216. return base;
  2217. }
  2218. // -----------------------------------------------------------------------------------------------------------
  2219. template <> size_t GenericFill<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  2220. {
  2221. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2222. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  2223. boost::shared_ptr<const DataType> arg = params[base++];
  2224. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  2225. try { GenericConvert( in->Position, arg, db ); break; }
  2226. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  2227. } while(0);
  2228. return base;
  2229. }
  2230. // -----------------------------------------------------------------------------------------------------------
  2231. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  2232. {
  2233. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2234. // this data structure is not used yet, so there is no code generated to fill its members
  2235. return base;
  2236. }
  2237. // -----------------------------------------------------------------------------------------------------------
  2238. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  2239. {
  2240. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2241. // this data structure is not used yet, so there is no code generated to fill its members
  2242. return base;
  2243. }
  2244. // -----------------------------------------------------------------------------------------------------------
  2245. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  2246. {
  2247. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  2248. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCompositeCurve"); } do { // convert the 'Segments' argument
  2249. boost::shared_ptr<const DataType> arg = params[base++];
  2250. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[0]=true; break; }
  2251. try { GenericConvert( in->Segments, arg, db ); break; }
  2252. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurve to be a `LIST [1:?] OF IfcCompositeCurveSegment`")); }
  2253. } while(0);
  2254. do { // convert the 'SelfIntersect' argument
  2255. boost::shared_ptr<const DataType> arg = params[base++];
  2256. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[1]=true; break; }
  2257. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  2258. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurve to be a `LOGICAL`")); }
  2259. } while(0);
  2260. return base;
  2261. }
  2262. // -----------------------------------------------------------------------------------------------------------
  2263. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  2264. {
  2265. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  2266. // this data structure is not used yet, so there is no code generated to fill its members
  2267. return base;
  2268. }
  2269. // -----------------------------------------------------------------------------------------------------------
  2270. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  2271. {
  2272. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2273. // this data structure is not used yet, so there is no code generated to fill its members
  2274. return base;
  2275. }
  2276. // -----------------------------------------------------------------------------------------------------------
  2277. template <> size_t GenericFill<IfcDraughtingCallout>(const DB& db, const LIST& params, IfcDraughtingCallout* in)
  2278. {
  2279. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2280. // this data structure is not used yet, so there is no code generated to fill its members
  2281. return base;
  2282. }
  2283. // -----------------------------------------------------------------------------------------------------------
  2284. template <> size_t GenericFill<IfcDimensionCurveDirectedCallout>(const DB& db, const LIST& params, IfcDimensionCurveDirectedCallout* in)
  2285. {
  2286. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  2287. // this data structure is not used yet, so there is no code generated to fill its members
  2288. return base;
  2289. }
  2290. // -----------------------------------------------------------------------------------------------------------
  2291. template <> size_t GenericFill<IfcRadiusDimension>(const DB& db, const LIST& params, IfcRadiusDimension* in)
  2292. {
  2293. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2294. // this data structure is not used yet, so there is no code generated to fill its members
  2295. return base;
  2296. }
  2297. // -----------------------------------------------------------------------------------------------------------
  2298. template <> size_t GenericFill<IfcEdgeFeature>(const DB& db, const LIST& params, IfcEdgeFeature* in)
  2299. {
  2300. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  2301. // this data structure is not used yet, so there is no code generated to fill its members
  2302. return base;
  2303. }
  2304. // -----------------------------------------------------------------------------------------------------------
  2305. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  2306. {
  2307. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2308. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  2309. boost::shared_ptr<const DataType> arg = params[base++];
  2310. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  2311. try { GenericConvert( in->SweptArea, arg, db ); break; }
  2312. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  2313. } while(0);
  2314. do { // convert the 'Position' argument
  2315. boost::shared_ptr<const DataType> arg = params[base++];
  2316. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  2317. try { GenericConvert( in->Position, arg, db ); break; }
  2318. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  2319. } while(0);
  2320. return base;
  2321. }
  2322. // -----------------------------------------------------------------------------------------------------------
  2323. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  2324. {
  2325. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2326. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  2327. boost::shared_ptr<const DataType> arg = params[base++];
  2328. try { GenericConvert( in->ExtrudedDirection, arg, db ); break; }
  2329. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  2330. } while(0);
  2331. do { // convert the 'Depth' argument
  2332. boost::shared_ptr<const DataType> arg = params[base++];
  2333. try { GenericConvert( in->Depth, arg, db ); break; }
  2334. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  2335. } while(0);
  2336. return base;
  2337. }
  2338. // -----------------------------------------------------------------------------------------------------------
  2339. template <> size_t GenericFill<IfcAnnotationTextOccurrence>(const DB& db, const LIST& params, IfcAnnotationTextOccurrence* in)
  2340. {
  2341. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2342. // this data structure is not used yet, so there is no code generated to fill its members
  2343. return base;
  2344. }
  2345. // -----------------------------------------------------------------------------------------------------------
  2346. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  2347. {
  2348. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2349. // this data structure is not used yet, so there is no code generated to fill its members
  2350. return base;
  2351. }
  2352. // -----------------------------------------------------------------------------------------------------------
  2353. template <> size_t GenericFill<IfcFillAreaStyleTileSymbolWithStyle>(const DB& db, const LIST& params, IfcFillAreaStyleTileSymbolWithStyle* in)
  2354. {
  2355. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2356. // this data structure is not used yet, so there is no code generated to fill its members
  2357. return base;
  2358. }
  2359. // -----------------------------------------------------------------------------------------------------------
  2360. template <> size_t GenericFill<IfcAnnotationSymbolOccurrence>(const DB& db, const LIST& params, IfcAnnotationSymbolOccurrence* in)
  2361. {
  2362. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2363. // this data structure is not used yet, so there is no code generated to fill its members
  2364. return base;
  2365. }
  2366. // -----------------------------------------------------------------------------------------------------------
  2367. template <> size_t GenericFill<IfcTerminatorSymbol>(const DB& db, const LIST& params, IfcTerminatorSymbol* in)
  2368. {
  2369. size_t base = GenericFill(db,params,static_cast<IfcAnnotationSymbolOccurrence*>(in));
  2370. // this data structure is not used yet, so there is no code generated to fill its members
  2371. return base;
  2372. }
  2373. // -----------------------------------------------------------------------------------------------------------
  2374. template <> size_t GenericFill<IfcDimensionCurveTerminator>(const DB& db, const LIST& params, IfcDimensionCurveTerminator* in)
  2375. {
  2376. size_t base = GenericFill(db,params,static_cast<IfcTerminatorSymbol*>(in));
  2377. // this data structure is not used yet, so there is no code generated to fill its members
  2378. return base;
  2379. }
  2380. // -----------------------------------------------------------------------------------------------------------
  2381. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  2382. {
  2383. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2384. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  2385. boost::shared_ptr<const DataType> arg = params[base++];
  2386. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  2387. try { GenericConvert( in->XDim, arg, db ); break; }
  2388. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2389. } while(0);
  2390. do { // convert the 'YDim' argument
  2391. boost::shared_ptr<const DataType> arg = params[base++];
  2392. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  2393. try { GenericConvert( in->YDim, arg, db ); break; }
  2394. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2395. } while(0);
  2396. return base;
  2397. }
  2398. // -----------------------------------------------------------------------------------------------------------
  2399. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  2400. {
  2401. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  2402. // this data structure is not used yet, so there is no code generated to fill its members
  2403. return base;
  2404. }
  2405. // -----------------------------------------------------------------------------------------------------------
  2406. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  2407. {
  2408. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  2409. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  2410. boost::shared_ptr<const DataType> arg = params[base++];
  2411. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2412. try { GenericConvert( in->PlacementRelTo, arg, db ); break; }
  2413. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  2414. } while(0);
  2415. do { // convert the 'RelativePlacement' argument
  2416. boost::shared_ptr<const DataType> arg = params[base++];
  2417. try { GenericConvert( in->RelativePlacement, arg, db ); break; }
  2418. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  2419. } while(0);
  2420. return base;
  2421. }
  2422. // -----------------------------------------------------------------------------------------------------------
  2423. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  2424. {
  2425. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  2426. // this data structure is not used yet, so there is no code generated to fill its members
  2427. return base;
  2428. }
  2429. // -----------------------------------------------------------------------------------------------------------
  2430. template <> size_t GenericFill<IfcAnnotationFillAreaOccurrence>(const DB& db, const LIST& params, IfcAnnotationFillAreaOccurrence* in)
  2431. {
  2432. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  2433. // this data structure is not used yet, so there is no code generated to fill its members
  2434. return base;
  2435. }
  2436. // -----------------------------------------------------------------------------------------------------------
  2437. template <> size_t GenericFill<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  2438. {
  2439. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2440. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  2441. boost::shared_ptr<const DataType> arg = params[base++];
  2442. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  2443. try { GenericConvert( in->Bounds, arg, db ); break; }
  2444. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  2445. } while(0);
  2446. return base;
  2447. }
  2448. // -----------------------------------------------------------------------------------------------------------
  2449. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  2450. {
  2451. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2452. // this data structure is not used yet, so there is no code generated to fill its members
  2453. return base;
  2454. }
  2455. // -----------------------------------------------------------------------------------------------------------
  2456. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  2457. {
  2458. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2459. // this data structure is not used yet, so there is no code generated to fill its members
  2460. return base;
  2461. }
  2462. // -----------------------------------------------------------------------------------------------------------
  2463. template <> size_t GenericFill<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2464. {
  2465. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2466. // this data structure is not used yet, so there is no code generated to fill its members
  2467. return base;
  2468. }
  2469. // -----------------------------------------------------------------------------------------------------------
  2470. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2471. {
  2472. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2473. // this data structure is not used yet, so there is no code generated to fill its members
  2474. return base;
  2475. }
  2476. // -----------------------------------------------------------------------------------------------------------
  2477. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  2478. {
  2479. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2480. // this data structure is not used yet, so there is no code generated to fill its members
  2481. return base;
  2482. }
  2483. // -----------------------------------------------------------------------------------------------------------
  2484. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2485. {
  2486. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2487. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2488. boost::shared_ptr<const DataType> arg = params[base++];
  2489. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2490. try { GenericConvert( in->Radius, arg, db ); break; }
  2491. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2492. } while(0);
  2493. return base;
  2494. }
  2495. // -----------------------------------------------------------------------------------------------------------
  2496. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  2497. {
  2498. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  2499. // this data structure is not used yet, so there is no code generated to fill its members
  2500. return base;
  2501. }
  2502. // -----------------------------------------------------------------------------------------------------------
  2503. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  2504. {
  2505. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  2506. // this data structure is not used yet, so there is no code generated to fill its members
  2507. return base;
  2508. }
  2509. // -----------------------------------------------------------------------------------------------------------
  2510. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  2511. {
  2512. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2513. // this data structure is not used yet, so there is no code generated to fill its members
  2514. return base;
  2515. }
  2516. // -----------------------------------------------------------------------------------------------------------
  2517. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  2518. {
  2519. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2520. // this data structure is not used yet, so there is no code generated to fill its members
  2521. return base;
  2522. }
  2523. // -----------------------------------------------------------------------------------------------------------
  2524. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  2525. {
  2526. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2527. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  2528. boost::shared_ptr<const DataType> arg = params[base++];
  2529. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  2530. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2531. try { GenericConvert( in->Axis1, arg, db ); break; }
  2532. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2533. } while(0);
  2534. do { // convert the 'Axis2' argument
  2535. boost::shared_ptr<const DataType> arg = params[base++];
  2536. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  2537. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2538. try { GenericConvert( in->Axis2, arg, db ); break; }
  2539. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2540. } while(0);
  2541. do { // convert the 'LocalOrigin' argument
  2542. boost::shared_ptr<const DataType> arg = params[base++];
  2543. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  2544. try { GenericConvert( in->LocalOrigin, arg, db ); break; }
  2545. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  2546. } while(0);
  2547. do { // convert the 'Scale' argument
  2548. boost::shared_ptr<const DataType> arg = params[base++];
  2549. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  2550. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2551. try { GenericConvert( in->Scale, arg, db ); break; }
  2552. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `REAL`")); }
  2553. } while(0);
  2554. return base;
  2555. }
  2556. // -----------------------------------------------------------------------------------------------------------
  2557. template <> size_t GenericFill<IfcLinearDimension>(const DB& db, const LIST& params, IfcLinearDimension* in)
  2558. {
  2559. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2560. // this data structure is not used yet, so there is no code generated to fill its members
  2561. return base;
  2562. }
  2563. // -----------------------------------------------------------------------------------------------------------
  2564. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2565. {
  2566. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2567. // this data structure is not used yet, so there is no code generated to fill its members
  2568. return base;
  2569. }
  2570. // -----------------------------------------------------------------------------------------------------------
  2571. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  2572. {
  2573. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2574. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  2575. boost::shared_ptr<const DataType> arg = params[base++];
  2576. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2577. try { GenericConvert( in->Prefix, arg, db ); break; }
  2578. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  2579. } while(0);
  2580. do { // convert the 'Name' argument
  2581. boost::shared_ptr<const DataType> arg = params[base++];
  2582. try { GenericConvert( in->Name, arg, db ); break; }
  2583. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  2584. } while(0);
  2585. return base;
  2586. }
  2587. // -----------------------------------------------------------------------------------------------------------
  2588. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  2589. {
  2590. size_t base = 0;
  2591. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  2592. boost::shared_ptr<const DataType> arg = params[base++];
  2593. try { GenericConvert( in->ValueComponent, arg, db ); break; }
  2594. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  2595. } while(0);
  2596. do { // convert the 'UnitComponent' argument
  2597. boost::shared_ptr<const DataType> arg = params[base++];
  2598. try { GenericConvert( in->UnitComponent, arg, db ); break; }
  2599. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  2600. } while(0);
  2601. return base;
  2602. }
  2603. // -----------------------------------------------------------------------------------------------------------
  2604. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  2605. {
  2606. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2607. // this data structure is not used yet, so there is no code generated to fill its members
  2608. return base;
  2609. }
  2610. // -----------------------------------------------------------------------------------------------------------
  2611. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  2612. {
  2613. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2614. // this data structure is not used yet, so there is no code generated to fill its members
  2615. return base;
  2616. }
  2617. // -----------------------------------------------------------------------------------------------------------
  2618. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  2619. {
  2620. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2621. // this data structure is not used yet, so there is no code generated to fill its members
  2622. return base;
  2623. }
  2624. // -----------------------------------------------------------------------------------------------------------
  2625. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  2626. {
  2627. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2628. // this data structure is not used yet, so there is no code generated to fill its members
  2629. return base;
  2630. }
  2631. // -----------------------------------------------------------------------------------------------------------
  2632. template <> size_t GenericFill<IfcDerivedProfileDef>(const DB& db, const LIST& params, IfcDerivedProfileDef* in)
  2633. {
  2634. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2635. // this data structure is not used yet, so there is no code generated to fill its members
  2636. return base;
  2637. }
  2638. // -----------------------------------------------------------------------------------------------------------
  2639. template <> size_t GenericFill<IfcFurnitureStandard>(const DB& db, const LIST& params, IfcFurnitureStandard* in)
  2640. {
  2641. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2642. // this data structure is not used yet, so there is no code generated to fill its members
  2643. return base;
  2644. }
  2645. // -----------------------------------------------------------------------------------------------------------
  2646. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  2647. {
  2648. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2649. // this data structure is not used yet, so there is no code generated to fill its members
  2650. return base;
  2651. }
  2652. // -----------------------------------------------------------------------------------------------------------
  2653. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  2654. {
  2655. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2656. // this data structure is not used yet, so there is no code generated to fill its members
  2657. return base;
  2658. }
  2659. // -----------------------------------------------------------------------------------------------------------
  2660. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  2661. {
  2662. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  2663. // this data structure is not used yet, so there is no code generated to fill its members
  2664. return base;
  2665. }
  2666. // -----------------------------------------------------------------------------------------------------------
  2667. template <> size_t GenericFill<IfcCondition>(const DB& db, const LIST& params, IfcCondition* in)
  2668. {
  2669. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2670. // this data structure is not used yet, so there is no code generated to fill its members
  2671. return base;
  2672. }
  2673. // -----------------------------------------------------------------------------------------------------------
  2674. template <> size_t GenericFill<IfcRelVoidsElement>(const DB& db, const LIST& params, IfcRelVoidsElement* in)
  2675. {
  2676. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  2677. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelVoidsElement"); } do { // convert the 'RelatingBuildingElement' argument
  2678. boost::shared_ptr<const DataType> arg = params[base++];
  2679. try { GenericConvert( in->RelatingBuildingElement, arg, db ); break; }
  2680. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelVoidsElement to be a `IfcElement`")); }
  2681. } while(0);
  2682. do { // convert the 'RelatedOpeningElement' argument
  2683. boost::shared_ptr<const DataType> arg = params[base++];
  2684. try { GenericConvert( in->RelatedOpeningElement, arg, db ); break; }
  2685. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelVoidsElement to be a `IfcFeatureElementSubtraction`")); }
  2686. } while(0);
  2687. return base;
  2688. }
  2689. // -----------------------------------------------------------------------------------------------------------
  2690. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  2691. {
  2692. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2693. // this data structure is not used yet, so there is no code generated to fill its members
  2694. return base;
  2695. }
  2696. // -----------------------------------------------------------------------------------------------------------
  2697. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  2698. {
  2699. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2700. // this data structure is not used yet, so there is no code generated to fill its members
  2701. return base;
  2702. }
  2703. // -----------------------------------------------------------------------------------------------------------
  2704. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  2705. {
  2706. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2707. // this data structure is not used yet, so there is no code generated to fill its members
  2708. return base;
  2709. }
  2710. // -----------------------------------------------------------------------------------------------------------
  2711. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  2712. {
  2713. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  2714. // this data structure is not used yet, so there is no code generated to fill its members
  2715. return base;
  2716. }
  2717. // -----------------------------------------------------------------------------------------------------------
  2718. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  2719. {
  2720. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  2721. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  2722. boost::shared_ptr<const DataType> arg = params[base++];
  2723. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2724. try { GenericConvert( in->RefDirection, arg, db ); break; }
  2725. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  2726. } while(0);
  2727. return base;
  2728. }
  2729. // -----------------------------------------------------------------------------------------------------------
  2730. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  2731. {
  2732. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  2733. // this data structure is not used yet, so there is no code generated to fill its members
  2734. return base;
  2735. }
  2736. // -----------------------------------------------------------------------------------------------------------
  2737. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  2738. {
  2739. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2740. // this data structure is not used yet, so there is no code generated to fill its members
  2741. return base;
  2742. }
  2743. // -----------------------------------------------------------------------------------------------------------
  2744. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  2745. {
  2746. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2747. // this data structure is not used yet, so there is no code generated to fill its members
  2748. return base;
  2749. }
  2750. // -----------------------------------------------------------------------------------------------------------
  2751. template <> size_t GenericFill<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  2752. {
  2753. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2754. // this data structure is not used yet, so there is no code generated to fill its members
  2755. return base;
  2756. }
  2757. // -----------------------------------------------------------------------------------------------------------
  2758. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  2759. {
  2760. size_t base = 0;
  2761. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  2762. boost::shared_ptr<const DataType> arg = params[base++];
  2763. try { GenericConvert( in->Textures, arg, db ); break; }
  2764. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  2765. } while(0);
  2766. return base;
  2767. }
  2768. // -----------------------------------------------------------------------------------------------------------
  2769. template <> size_t GenericFill<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  2770. {
  2771. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2772. // this data structure is not used yet, so there is no code generated to fill its members
  2773. return base;
  2774. }
  2775. // -----------------------------------------------------------------------------------------------------------
  2776. template <> size_t GenericFill<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  2777. {
  2778. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2779. // this data structure is not used yet, so there is no code generated to fill its members
  2780. return base;
  2781. }
  2782. // -----------------------------------------------------------------------------------------------------------
  2783. template <> size_t GenericFill<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  2784. {
  2785. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  2786. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcBSplineCurve"); } do { // convert the 'Degree' argument
  2787. boost::shared_ptr<const DataType> arg = params[base++];
  2788. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[0]=true; break; }
  2789. try { GenericConvert( in->Degree, arg, db ); break; }
  2790. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBSplineCurve to be a `INTEGER`")); }
  2791. } while(0);
  2792. do { // convert the 'ControlPointsList' argument
  2793. boost::shared_ptr<const DataType> arg = params[base++];
  2794. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[1]=true; break; }
  2795. try { GenericConvert( in->ControlPointsList, arg, db ); break; }
  2796. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBSplineCurve to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  2797. } while(0);
  2798. do { // convert the 'CurveForm' argument
  2799. boost::shared_ptr<const DataType> arg = params[base++];
  2800. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[2]=true; break; }
  2801. try { GenericConvert( in->CurveForm, arg, db ); break; }
  2802. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBSplineCurve to be a `IfcBSplineCurveForm`")); }
  2803. } while(0);
  2804. do { // convert the 'ClosedCurve' argument
  2805. boost::shared_ptr<const DataType> arg = params[base++];
  2806. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[3]=true; break; }
  2807. try { GenericConvert( in->ClosedCurve, arg, db ); break; }
  2808. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBSplineCurve to be a `LOGICAL`")); }
  2809. } while(0);
  2810. do { // convert the 'SelfIntersect' argument
  2811. boost::shared_ptr<const DataType> arg = params[base++];
  2812. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[4]=true; break; }
  2813. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  2814. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcBSplineCurve to be a `LOGICAL`")); }
  2815. } while(0);
  2816. return base;
  2817. }
  2818. // -----------------------------------------------------------------------------------------------------------
  2819. template <> size_t GenericFill<IfcBezierCurve>(const DB& db, const LIST& params, IfcBezierCurve* in)
  2820. {
  2821. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(in));
  2822. // this data structure is not used yet, so there is no code generated to fill its members
  2823. return base;
  2824. }
  2825. // -----------------------------------------------------------------------------------------------------------
  2826. template <> size_t GenericFill<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  2827. {
  2828. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  2829. // this data structure is not used yet, so there is no code generated to fill its members
  2830. return base;
  2831. }
  2832. // -----------------------------------------------------------------------------------------------------------
  2833. template <> size_t GenericFill<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  2834. {
  2835. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2836. // this data structure is not used yet, so there is no code generated to fill its members
  2837. return base;
  2838. }
  2839. // -----------------------------------------------------------------------------------------------------------
  2840. template <> size_t GenericFill<IfcElectricDistributionPoint>(const DB& db, const LIST& params, IfcElectricDistributionPoint* in)
  2841. {
  2842. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2843. // this data structure is not used yet, so there is no code generated to fill its members
  2844. return base;
  2845. }
  2846. // -----------------------------------------------------------------------------------------------------------
  2847. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  2848. {
  2849. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2850. if (params.GetSize() < 14) { throw STEP::TypeError("expected 14 arguments to IfcSite"); } do { // convert the 'RefLatitude' argument
  2851. boost::shared_ptr<const DataType> arg = params[base++];
  2852. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2853. try { GenericConvert( in->RefLatitude, arg, db ); break; }
  2854. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  2855. } while(0);
  2856. do { // convert the 'RefLongitude' argument
  2857. boost::shared_ptr<const DataType> arg = params[base++];
  2858. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2859. try { GenericConvert( in->RefLongitude, arg, db ); break; }
  2860. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  2861. } while(0);
  2862. do { // convert the 'RefElevation' argument
  2863. boost::shared_ptr<const DataType> arg = params[base++];
  2864. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2865. try { GenericConvert( in->RefElevation, arg, db ); break; }
  2866. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcSite to be a `IfcLengthMeasure`")); }
  2867. } while(0);
  2868. do { // convert the 'LandTitleNumber' argument
  2869. boost::shared_ptr<const DataType> arg = params[base++];
  2870. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2871. try { GenericConvert( in->LandTitleNumber, arg, db ); break; }
  2872. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcSite to be a `IfcLabel`")); }
  2873. } while(0);
  2874. do { // convert the 'SiteAddress' argument
  2875. boost::shared_ptr<const DataType> arg = params[base++];
  2876. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2877. try { GenericConvert( in->SiteAddress, arg, db ); break; }
  2878. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 13 to IfcSite to be a `IfcPostalAddress`")); }
  2879. } while(0);
  2880. return base;
  2881. }
  2882. // -----------------------------------------------------------------------------------------------------------
  2883. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  2884. {
  2885. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2886. // this data structure is not used yet, so there is no code generated to fill its members
  2887. return base;
  2888. }
  2889. // -----------------------------------------------------------------------------------------------------------
  2890. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  2891. {
  2892. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2893. // this data structure is not used yet, so there is no code generated to fill its members
  2894. return base;
  2895. }
  2896. // -----------------------------------------------------------------------------------------------------------
  2897. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2898. {
  2899. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2900. // this data structure is not used yet, so there is no code generated to fill its members
  2901. return base;
  2902. }
  2903. // -----------------------------------------------------------------------------------------------------------
  2904. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  2905. {
  2906. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2907. // this data structure is not used yet, so there is no code generated to fill its members
  2908. return base;
  2909. }
  2910. // -----------------------------------------------------------------------------------------------------------
  2911. template <> size_t GenericFill<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  2912. {
  2913. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2914. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  2915. boost::shared_ptr<const DataType> arg = params[base++];
  2916. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  2917. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2918. try { GenericConvert( in->Axis3, arg, db ); break; }
  2919. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  2920. } while(0);
  2921. return base;
  2922. }
  2923. // -----------------------------------------------------------------------------------------------------------
  2924. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  2925. {
  2926. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  2927. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcCartesianTransformationOperator3DnonUniform"); } do { // convert the 'Scale2' argument
  2928. boost::shared_ptr<const DataType> arg = params[base++];
  2929. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2930. try { GenericConvert( in->Scale2, arg, db ); break; }
  2931. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  2932. } while(0);
  2933. do { // convert the 'Scale3' argument
  2934. boost::shared_ptr<const DataType> arg = params[base++];
  2935. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2936. try { GenericConvert( in->Scale3, arg, db ); break; }
  2937. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  2938. } while(0);
  2939. return base;
  2940. }
  2941. // -----------------------------------------------------------------------------------------------------------
  2942. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2943. {
  2944. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2945. // this data structure is not used yet, so there is no code generated to fill its members
  2946. return base;
  2947. }
  2948. // -----------------------------------------------------------------------------------------------------------
  2949. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  2950. {
  2951. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  2952. // this data structure is not used yet, so there is no code generated to fill its members
  2953. return base;
  2954. }
  2955. // -----------------------------------------------------------------------------------------------------------
  2956. template <> size_t GenericFill<Ifc2DCompositeCurve>(const DB& db, const LIST& params, Ifc2DCompositeCurve* in)
  2957. {
  2958. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  2959. // this data structure is not used yet, so there is no code generated to fill its members
  2960. return base;
  2961. }
  2962. // -----------------------------------------------------------------------------------------------------------
  2963. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  2964. {
  2965. size_t base = 0;
  2966. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  2967. boost::shared_ptr<const DataType> arg = params[base++];
  2968. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  2969. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2970. try { GenericConvert( in->ContextIdentifier, arg, db ); break; }
  2971. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  2972. } while(0);
  2973. do { // convert the 'ContextType' argument
  2974. boost::shared_ptr<const DataType> arg = params[base++];
  2975. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  2976. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2977. try { GenericConvert( in->ContextType, arg, db ); break; }
  2978. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  2979. } while(0);
  2980. return base;
  2981. }
  2982. // -----------------------------------------------------------------------------------------------------------
  2983. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  2984. {
  2985. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  2986. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  2987. boost::shared_ptr<const DataType> arg = params[base++];
  2988. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  2989. try { GenericConvert( in->CoordinateSpaceDimension, arg, db ); break; }
  2990. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  2991. } while(0);
  2992. do { // convert the 'Precision' argument
  2993. boost::shared_ptr<const DataType> arg = params[base++];
  2994. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  2995. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2996. try { GenericConvert( in->Precision, arg, db ); break; }
  2997. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `REAL`")); }
  2998. } while(0);
  2999. do { // convert the 'WorldCoordinateSystem' argument
  3000. boost::shared_ptr<const DataType> arg = params[base++];
  3001. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  3002. try { GenericConvert( in->WorldCoordinateSystem, arg, db ); break; }
  3003. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  3004. } while(0);
  3005. do { // convert the 'TrueNorth' argument
  3006. boost::shared_ptr<const DataType> arg = params[base++];
  3007. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  3008. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3009. try { GenericConvert( in->TrueNorth, arg, db ); break; }
  3010. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  3011. } while(0);
  3012. return base;
  3013. }
  3014. // -----------------------------------------------------------------------------------------------------------
  3015. template <> size_t GenericFill<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  3016. {
  3017. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3018. // this data structure is not used yet, so there is no code generated to fill its members
  3019. return base;
  3020. }
  3021. // -----------------------------------------------------------------------------------------------------------
  3022. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  3023. {
  3024. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3025. // this data structure is not used yet, so there is no code generated to fill its members
  3026. return base;
  3027. }
  3028. // -----------------------------------------------------------------------------------------------------------
  3029. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  3030. {
  3031. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3032. // this data structure is not used yet, so there is no code generated to fill its members
  3033. return base;
  3034. }
  3035. // -----------------------------------------------------------------------------------------------------------
  3036. template <> size_t GenericFill<IfcBuildingElementComponent>(const DB& db, const LIST& params, IfcBuildingElementComponent* in)
  3037. {
  3038. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3039. // this data structure is not used yet, so there is no code generated to fill its members
  3040. return base;
  3041. }
  3042. // -----------------------------------------------------------------------------------------------------------
  3043. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  3044. {
  3045. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3046. // this data structure is not used yet, so there is no code generated to fill its members
  3047. return base;
  3048. }
  3049. // -----------------------------------------------------------------------------------------------------------
  3050. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  3051. {
  3052. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3053. // this data structure is not used yet, so there is no code generated to fill its members
  3054. return base;
  3055. }
  3056. // -----------------------------------------------------------------------------------------------------------
  3057. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  3058. {
  3059. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  3060. // this data structure is not used yet, so there is no code generated to fill its members
  3061. return base;
  3062. }
  3063. // -----------------------------------------------------------------------------------------------------------
  3064. template <> size_t GenericFill<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  3065. {
  3066. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3067. // this data structure is not used yet, so there is no code generated to fill its members
  3068. return base;
  3069. }
  3070. // -----------------------------------------------------------------------------------------------------------
  3071. template <> size_t GenericFill<IfcDefinedSymbol>(const DB& db, const LIST& params, IfcDefinedSymbol* in)
  3072. {
  3073. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3074. // this data structure is not used yet, so there is no code generated to fill its members
  3075. return base;
  3076. }
  3077. // -----------------------------------------------------------------------------------------------------------
  3078. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  3079. {
  3080. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  3081. // this data structure is not used yet, so there is no code generated to fill its members
  3082. return base;
  3083. }
  3084. // -----------------------------------------------------------------------------------------------------------
  3085. template <> size_t GenericFill<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  3086. {
  3087. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3088. return base;
  3089. }
  3090. // -----------------------------------------------------------------------------------------------------------
  3091. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  3092. {
  3093. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  3094. // this data structure is not used yet, so there is no code generated to fill its members
  3095. return base;
  3096. }
  3097. // -----------------------------------------------------------------------------------------------------------
  3098. template <> size_t GenericFill<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  3099. {
  3100. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3101. // this data structure is not used yet, so there is no code generated to fill its members
  3102. return base;
  3103. }
  3104. // -----------------------------------------------------------------------------------------------------------
  3105. template <> size_t GenericFill<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  3106. {
  3107. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3108. // this data structure is not used yet, so there is no code generated to fill its members
  3109. return base;
  3110. }
  3111. // -----------------------------------------------------------------------------------------------------------
  3112. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  3113. {
  3114. size_t base = 0;
  3115. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  3116. boost::shared_ptr<const DataType> arg = params[base++];
  3117. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,1>::aux_is_derived[0]=true; break; }
  3118. try { GenericConvert( in->SurfaceColour, arg, db ); break; }
  3119. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  3120. } while(0);
  3121. return base;
  3122. }
  3123. // -----------------------------------------------------------------------------------------------------------
  3124. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  3125. {
  3126. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  3127. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'Transparency' argument
  3128. boost::shared_ptr<const DataType> arg = params[base++];
  3129. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3130. try { GenericConvert( in->Transparency, arg, db ); break; }
  3131. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleRendering to be a `IfcNormalisedRatioMeasure`")); }
  3132. } while(0);
  3133. do { // convert the 'DiffuseColour' argument
  3134. boost::shared_ptr<const DataType> arg = params[base++];
  3135. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3136. try { GenericConvert( in->DiffuseColour, arg, db ); break; }
  3137. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3138. } while(0);
  3139. do { // convert the 'TransmissionColour' argument
  3140. boost::shared_ptr<const DataType> arg = params[base++];
  3141. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3142. try { GenericConvert( in->TransmissionColour, arg, db ); break; }
  3143. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3144. } while(0);
  3145. do { // convert the 'DiffuseTransmissionColour' argument
  3146. boost::shared_ptr<const DataType> arg = params[base++];
  3147. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3148. try { GenericConvert( in->DiffuseTransmissionColour, arg, db ); break; }
  3149. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3150. } while(0);
  3151. do { // convert the 'ReflectionColour' argument
  3152. boost::shared_ptr<const DataType> arg = params[base++];
  3153. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3154. try { GenericConvert( in->ReflectionColour, arg, db ); break; }
  3155. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3156. } while(0);
  3157. do { // convert the 'SpecularColour' argument
  3158. boost::shared_ptr<const DataType> arg = params[base++];
  3159. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3160. try { GenericConvert( in->SpecularColour, arg, db ); break; }
  3161. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  3162. } while(0);
  3163. do { // convert the 'SpecularHighlight' argument
  3164. boost::shared_ptr<const DataType> arg = params[base++];
  3165. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3166. try { GenericConvert( in->SpecularHighlight, arg, db ); break; }
  3167. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  3168. } while(0);
  3169. do { // convert the 'ReflectanceMethod' argument
  3170. boost::shared_ptr<const DataType> arg = params[base++];
  3171. try { GenericConvert( in->ReflectanceMethod, arg, db ); break; }
  3172. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  3173. } while(0);
  3174. return base;
  3175. }
  3176. // -----------------------------------------------------------------------------------------------------------
  3177. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  3178. {
  3179. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  3180. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  3181. boost::shared_ptr<const DataType> arg = params[base++];
  3182. try { GenericConvert( in->WallThickness, arg, db ); break; }
  3183. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3184. } while(0);
  3185. return base;
  3186. }
  3187. // -----------------------------------------------------------------------------------------------------------
  3188. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  3189. {
  3190. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3191. // this data structure is not used yet, so there is no code generated to fill its members
  3192. return base;
  3193. }
  3194. // -----------------------------------------------------------------------------------------------------------
  3195. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  3196. {
  3197. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3198. // this data structure is not used yet, so there is no code generated to fill its members
  3199. return base;
  3200. }
  3201. // -----------------------------------------------------------------------------------------------------------
  3202. template <> size_t GenericFill<IfcStructuralPlanarActionVarying>(const DB& db, const LIST& params, IfcStructuralPlanarActionVarying* in)
  3203. {
  3204. size_t base = GenericFill(db,params,static_cast<IfcStructuralPlanarAction*>(in));
  3205. // this data structure is not used yet, so there is no code generated to fill its members
  3206. return base;
  3207. }
  3208. // -----------------------------------------------------------------------------------------------------------
  3209. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  3210. {
  3211. size_t base = 0;
  3212. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  3213. boost::shared_ptr<const DataType> arg = params[base++];
  3214. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  3215. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3216. try { GenericConvert( in->Name, arg, db ); break; }
  3217. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  3218. } while(0);
  3219. do { // convert the 'Description' argument
  3220. boost::shared_ptr<const DataType> arg = params[base++];
  3221. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  3222. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3223. try { GenericConvert( in->Description, arg, db ); break; }
  3224. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  3225. } while(0);
  3226. do { // convert the 'Representations' argument
  3227. boost::shared_ptr<const DataType> arg = params[base++];
  3228. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  3229. try { GenericConvert( in->Representations, arg, db ); break; }
  3230. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  3231. } while(0);
  3232. return base;
  3233. }
  3234. // -----------------------------------------------------------------------------------------------------------
  3235. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  3236. {
  3237. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3238. // this data structure is not used yet, so there is no code generated to fill its members
  3239. return base;
  3240. }
  3241. // -----------------------------------------------------------------------------------------------------------
  3242. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  3243. {
  3244. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3245. // this data structure is not used yet, so there is no code generated to fill its members
  3246. return base;
  3247. }
  3248. // -----------------------------------------------------------------------------------------------------------
  3249. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  3250. {
  3251. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3252. // this data structure is not used yet, so there is no code generated to fill its members
  3253. return base;
  3254. }
  3255. // -----------------------------------------------------------------------------------------------------------
  3256. template <> size_t GenericFill<IfcOrderAction>(const DB& db, const LIST& params, IfcOrderAction* in)
  3257. {
  3258. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3259. // this data structure is not used yet, so there is no code generated to fill its members
  3260. return base;
  3261. }
  3262. // -----------------------------------------------------------------------------------------------------------
  3263. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  3264. {
  3265. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3266. // this data structure is not used yet, so there is no code generated to fill its members
  3267. return base;
  3268. }
  3269. // -----------------------------------------------------------------------------------------------------------
  3270. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  3271. {
  3272. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3273. // this data structure is not used yet, so there is no code generated to fill its members
  3274. return base;
  3275. }
  3276. // -----------------------------------------------------------------------------------------------------------
  3277. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  3278. {
  3279. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3280. return base;
  3281. }
  3282. // -----------------------------------------------------------------------------------------------------------
  3283. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  3284. {
  3285. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3286. // this data structure is not used yet, so there is no code generated to fill its members
  3287. return base;
  3288. }
  3289. // -----------------------------------------------------------------------------------------------------------
  3290. template <> size_t GenericFill<IfcChamferEdgeFeature>(const DB& db, const LIST& params, IfcChamferEdgeFeature* in)
  3291. {
  3292. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  3293. // this data structure is not used yet, so there is no code generated to fill its members
  3294. return base;
  3295. }
  3296. // -----------------------------------------------------------------------------------------------------------
  3297. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  3298. {
  3299. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3300. // this data structure is not used yet, so there is no code generated to fill its members
  3301. return base;
  3302. }
  3303. // -----------------------------------------------------------------------------------------------------------
  3304. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  3305. {
  3306. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3307. // this data structure is not used yet, so there is no code generated to fill its members
  3308. return base;
  3309. }
  3310. // -----------------------------------------------------------------------------------------------------------
  3311. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  3312. {
  3313. size_t base = GenericFill(db,params,static_cast<IfcFastenerType*>(in));
  3314. // this data structure is not used yet, so there is no code generated to fill its members
  3315. return base;
  3316. }
  3317. // -----------------------------------------------------------------------------------------------------------
  3318. template <> size_t GenericFill<IfcScheduleTimeControl>(const DB& db, const LIST& params, IfcScheduleTimeControl* in)
  3319. {
  3320. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3321. // this data structure is not used yet, so there is no code generated to fill its members
  3322. return base;
  3323. }
  3324. // -----------------------------------------------------------------------------------------------------------
  3325. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  3326. {
  3327. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  3328. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  3329. boost::shared_ptr<const DataType> arg = params[base++];
  3330. try { GenericConvert( in->Side, arg, db ); break; }
  3331. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  3332. } while(0);
  3333. do { // convert the 'Styles' argument
  3334. boost::shared_ptr<const DataType> arg = params[base++];
  3335. try { GenericConvert( in->Styles, arg, db ); break; }
  3336. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  3337. } while(0);
  3338. return base;
  3339. }
  3340. // -----------------------------------------------------------------------------------------------------------
  3341. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  3342. {
  3343. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3344. // this data structure is not used yet, so there is no code generated to fill its members
  3345. return base;
  3346. }
  3347. // -----------------------------------------------------------------------------------------------------------
  3348. template <> size_t GenericFill<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  3349. {
  3350. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3351. // this data structure is not used yet, so there is no code generated to fill its members
  3352. return base;
  3353. }
  3354. // -----------------------------------------------------------------------------------------------------------
  3355. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  3356. {
  3357. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  3358. // this data structure is not used yet, so there is no code generated to fill its members
  3359. return base;
  3360. }
  3361. // -----------------------------------------------------------------------------------------------------------
  3362. template <> size_t GenericFill<IfcCompositeProfileDef>(const DB& db, const LIST& params, IfcCompositeProfileDef* in)
  3363. {
  3364. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  3365. // this data structure is not used yet, so there is no code generated to fill its members
  3366. return base;
  3367. }
  3368. // -----------------------------------------------------------------------------------------------------------
  3369. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  3370. {
  3371. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3372. // this data structure is not used yet, so there is no code generated to fill its members
  3373. return base;
  3374. }
  3375. // -----------------------------------------------------------------------------------------------------------
  3376. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  3377. {
  3378. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3379. // this data structure is not used yet, so there is no code generated to fill its members
  3380. return base;
  3381. }
  3382. // -----------------------------------------------------------------------------------------------------------
  3383. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  3384. {
  3385. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3386. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  3387. boost::shared_ptr<const DataType> arg = params[base++];
  3388. try { GenericConvert( in->Polygon, arg, db ); break; }
  3389. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  3390. } while(0);
  3391. return base;
  3392. }
  3393. // -----------------------------------------------------------------------------------------------------------
  3394. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  3395. {
  3396. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3397. // this data structure is not used yet, so there is no code generated to fill its members
  3398. return base;
  3399. }
  3400. // -----------------------------------------------------------------------------------------------------------
  3401. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3402. {
  3403. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3404. // this data structure is not used yet, so there is no code generated to fill its members
  3405. return base;
  3406. }
  3407. // -----------------------------------------------------------------------------------------------------------
  3408. template <> size_t GenericFill<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  3409. {
  3410. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3411. // this data structure is not used yet, so there is no code generated to fill its members
  3412. return base;
  3413. }
  3414. // -----------------------------------------------------------------------------------------------------------
  3415. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  3416. {
  3417. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  3418. // this data structure is not used yet, so there is no code generated to fill its members
  3419. return base;
  3420. }
  3421. // -----------------------------------------------------------------------------------------------------------
  3422. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  3423. {
  3424. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3425. // this data structure is not used yet, so there is no code generated to fill its members
  3426. return base;
  3427. }
  3428. // -----------------------------------------------------------------------------------------------------------
  3429. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  3430. {
  3431. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  3432. if (params.GetSize() < 12) { throw STEP::TypeError("expected 12 arguments to IfcBuilding"); } do { // convert the 'ElevationOfRefHeight' argument
  3433. boost::shared_ptr<const DataType> arg = params[base++];
  3434. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3435. try { GenericConvert( in->ElevationOfRefHeight, arg, db ); break; }
  3436. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcBuilding to be a `IfcLengthMeasure`")); }
  3437. } while(0);
  3438. do { // convert the 'ElevationOfTerrain' argument
  3439. boost::shared_ptr<const DataType> arg = params[base++];
  3440. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3441. try { GenericConvert( in->ElevationOfTerrain, arg, db ); break; }
  3442. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcBuilding to be a `IfcLengthMeasure`")); }
  3443. } while(0);
  3444. do { // convert the 'BuildingAddress' argument
  3445. boost::shared_ptr<const DataType> arg = params[base++];
  3446. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3447. try { GenericConvert( in->BuildingAddress, arg, db ); break; }
  3448. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcBuilding to be a `IfcPostalAddress`")); }
  3449. } while(0);
  3450. return base;
  3451. }
  3452. // -----------------------------------------------------------------------------------------------------------
  3453. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  3454. {
  3455. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  3456. // this data structure is not used yet, so there is no code generated to fill its members
  3457. return base;
  3458. }
  3459. // -----------------------------------------------------------------------------------------------------------
  3460. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  3461. {
  3462. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3463. // this data structure is not used yet, so there is no code generated to fill its members
  3464. return base;
  3465. }
  3466. // -----------------------------------------------------------------------------------------------------------
  3467. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  3468. {
  3469. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3470. // this data structure is not used yet, so there is no code generated to fill its members
  3471. return base;
  3472. }
  3473. // -----------------------------------------------------------------------------------------------------------
  3474. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  3475. {
  3476. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  3477. // this data structure is not used yet, so there is no code generated to fill its members
  3478. return base;
  3479. }
  3480. // -----------------------------------------------------------------------------------------------------------
  3481. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  3482. {
  3483. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3484. // this data structure is not used yet, so there is no code generated to fill its members
  3485. return base;
  3486. }
  3487. // -----------------------------------------------------------------------------------------------------------
  3488. template <> size_t GenericFill<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  3489. {
  3490. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3491. // this data structure is not used yet, so there is no code generated to fill its members
  3492. return base;
  3493. }
  3494. // -----------------------------------------------------------------------------------------------------------
  3495. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  3496. {
  3497. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  3498. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDecomposes"); } do { // convert the 'RelatingObject' argument
  3499. boost::shared_ptr<const DataType> arg = params[base++];
  3500. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[0]=true; break; }
  3501. try { GenericConvert( in->RelatingObject, arg, db ); break; }
  3502. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDecomposes to be a `IfcObjectDefinition`")); }
  3503. } while(0);
  3504. do { // convert the 'RelatedObjects' argument
  3505. boost::shared_ptr<const DataType> arg = params[base++];
  3506. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[1]=true; break; }
  3507. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  3508. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDecomposes to be a `SET [1:?] OF IfcObjectDefinition`")); }
  3509. } while(0);
  3510. return base;
  3511. }
  3512. // -----------------------------------------------------------------------------------------------------------
  3513. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  3514. {
  3515. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3516. // this data structure is not used yet, so there is no code generated to fill its members
  3517. return base;
  3518. }
  3519. // -----------------------------------------------------------------------------------------------------------
  3520. template <> size_t GenericFill<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3521. {
  3522. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3523. // this data structure is not used yet, so there is no code generated to fill its members
  3524. return base;
  3525. }
  3526. // -----------------------------------------------------------------------------------------------------------
  3527. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  3528. {
  3529. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3530. // this data structure is not used yet, so there is no code generated to fill its members
  3531. return base;
  3532. }
  3533. // -----------------------------------------------------------------------------------------------------------
  3534. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  3535. {
  3536. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3537. // this data structure is not used yet, so there is no code generated to fill its members
  3538. return base;
  3539. }
  3540. // -----------------------------------------------------------------------------------------------------------
  3541. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  3542. {
  3543. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3544. // this data structure is not used yet, so there is no code generated to fill its members
  3545. return base;
  3546. }
  3547. // -----------------------------------------------------------------------------------------------------------
  3548. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  3549. {
  3550. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  3551. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  3552. boost::shared_ptr<const DataType> arg = params[base++];
  3553. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3554. try { GenericConvert( in->Axis, arg, db ); break; }
  3555. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3556. } while(0);
  3557. do { // convert the 'RefDirection' argument
  3558. boost::shared_ptr<const DataType> arg = params[base++];
  3559. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3560. try { GenericConvert( in->RefDirection, arg, db ); break; }
  3561. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  3562. } while(0);
  3563. return base;
  3564. }
  3565. // -----------------------------------------------------------------------------------------------------------
  3566. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  3567. {
  3568. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  3569. // this data structure is not used yet, so there is no code generated to fill its members
  3570. return base;
  3571. }
  3572. // -----------------------------------------------------------------------------------------------------------
  3573. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  3574. {
  3575. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3576. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  3577. }
  3578. // -----------------------------------------------------------------------------------------------------------
  3579. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  3580. {
  3581. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3582. // this data structure is not used yet, so there is no code generated to fill its members
  3583. return base;
  3584. }
  3585. // -----------------------------------------------------------------------------------------------------------
  3586. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  3587. {
  3588. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3589. // this data structure is not used yet, so there is no code generated to fill its members
  3590. return base;
  3591. }
  3592. // -----------------------------------------------------------------------------------------------------------
  3593. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  3594. {
  3595. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3596. // this data structure is not used yet, so there is no code generated to fill its members
  3597. return base;
  3598. }
  3599. // -----------------------------------------------------------------------------------------------------------
  3600. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  3601. {
  3602. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3603. // this data structure is not used yet, so there is no code generated to fill its members
  3604. return base;
  3605. }
  3606. // -----------------------------------------------------------------------------------------------------------
  3607. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  3608. {
  3609. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3610. // this data structure is not used yet, so there is no code generated to fill its members
  3611. return base;
  3612. }
  3613. // -----------------------------------------------------------------------------------------------------------
  3614. template <> size_t GenericFill<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  3615. {
  3616. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3617. // this data structure is not used yet, so there is no code generated to fill its members
  3618. return base;
  3619. }
  3620. // -----------------------------------------------------------------------------------------------------------
  3621. template <> size_t GenericFill<IfcProjectionCurve>(const DB& db, const LIST& params, IfcProjectionCurve* in)
  3622. {
  3623. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  3624. // this data structure is not used yet, so there is no code generated to fill its members
  3625. return base;
  3626. }
  3627. // -----------------------------------------------------------------------------------------------------------
  3628. template <> size_t GenericFill<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  3629. {
  3630. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3631. // this data structure is not used yet, so there is no code generated to fill its members
  3632. return base;
  3633. }
  3634. // -----------------------------------------------------------------------------------------------------------
  3635. template <> size_t GenericFill<IfcRelFillsElement>(const DB& db, const LIST& params, IfcRelFillsElement* in)
  3636. {
  3637. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3638. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelFillsElement"); } do { // convert the 'RelatingOpeningElement' argument
  3639. boost::shared_ptr<const DataType> arg = params[base++];
  3640. try { GenericConvert( in->RelatingOpeningElement, arg, db ); break; }
  3641. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelFillsElement to be a `IfcOpeningElement`")); }
  3642. } while(0);
  3643. do { // convert the 'RelatedBuildingElement' argument
  3644. boost::shared_ptr<const DataType> arg = params[base++];
  3645. try { GenericConvert( in->RelatedBuildingElement, arg, db ); break; }
  3646. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelFillsElement to be a `IfcElement`")); }
  3647. } while(0);
  3648. return base;
  3649. }
  3650. // -----------------------------------------------------------------------------------------------------------
  3651. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  3652. {
  3653. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3654. // this data structure is not used yet, so there is no code generated to fill its members
  3655. return base;
  3656. }
  3657. // -----------------------------------------------------------------------------------------------------------
  3658. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  3659. {
  3660. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3661. // this data structure is not used yet, so there is no code generated to fill its members
  3662. return base;
  3663. }
  3664. // -----------------------------------------------------------------------------------------------------------
  3665. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  3666. {
  3667. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3668. // this data structure is not used yet, so there is no code generated to fill its members
  3669. return base;
  3670. }
  3671. // -----------------------------------------------------------------------------------------------------------
  3672. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  3673. {
  3674. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3675. // this data structure is not used yet, so there is no code generated to fill its members
  3676. return base;
  3677. }
  3678. // -----------------------------------------------------------------------------------------------------------
  3679. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  3680. {
  3681. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  3682. // this data structure is not used yet, so there is no code generated to fill its members
  3683. return base;
  3684. }
  3685. // -----------------------------------------------------------------------------------------------------------
  3686. template <> size_t GenericFill<IfcStructuralLinearActionVarying>(const DB& db, const LIST& params, IfcStructuralLinearActionVarying* in)
  3687. {
  3688. size_t base = GenericFill(db,params,static_cast<IfcStructuralLinearAction*>(in));
  3689. // this data structure is not used yet, so there is no code generated to fill its members
  3690. return base;
  3691. }
  3692. // -----------------------------------------------------------------------------------------------------------
  3693. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  3694. {
  3695. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  3696. // this data structure is not used yet, so there is no code generated to fill its members
  3697. return base;
  3698. }
  3699. // -----------------------------------------------------------------------------------------------------------
  3700. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  3701. {
  3702. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3703. // this data structure is not used yet, so there is no code generated to fill its members
  3704. return base;
  3705. }
  3706. // -----------------------------------------------------------------------------------------------------------
  3707. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  3708. {
  3709. size_t base = GenericFill(db,params,static_cast<IfcFastener*>(in));
  3710. // this data structure is not used yet, so there is no code generated to fill its members
  3711. return base;
  3712. }
  3713. // -----------------------------------------------------------------------------------------------------------
  3714. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  3715. {
  3716. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3717. // this data structure is not used yet, so there is no code generated to fill its members
  3718. return base;
  3719. }
  3720. // -----------------------------------------------------------------------------------------------------------
  3721. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  3722. {
  3723. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3724. // this data structure is not used yet, so there is no code generated to fill its members
  3725. return base;
  3726. }
  3727. // -----------------------------------------------------------------------------------------------------------
  3728. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  3729. {
  3730. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  3731. // this data structure is not used yet, so there is no code generated to fill its members
  3732. return base;
  3733. }
  3734. // -----------------------------------------------------------------------------------------------------------
  3735. template <> size_t GenericFill<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  3736. {
  3737. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(in));
  3738. // this data structure is not used yet, so there is no code generated to fill its members
  3739. return base;
  3740. }
  3741. // -----------------------------------------------------------------------------------------------------------
  3742. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  3743. {
  3744. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3745. // this data structure is not used yet, so there is no code generated to fill its members
  3746. return base;
  3747. }
  3748. // -----------------------------------------------------------------------------------------------------------
  3749. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  3750. {
  3751. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3752. // this data structure is not used yet, so there is no code generated to fill its members
  3753. return base;
  3754. }
  3755. // -----------------------------------------------------------------------------------------------------------
  3756. template <> size_t GenericFill<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  3757. {
  3758. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3759. // this data structure is not used yet, so there is no code generated to fill its members
  3760. return base;
  3761. }
  3762. // -----------------------------------------------------------------------------------------------------------
  3763. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  3764. {
  3765. size_t base = 0;
  3766. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  3767. boost::shared_ptr<const DataType> arg = params[base++];
  3768. try { GenericConvert( in->Units, arg, db ); break; }
  3769. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  3770. } while(0);
  3771. return base;
  3772. }
  3773. // -----------------------------------------------------------------------------------------------------------
  3774. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  3775. {
  3776. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3777. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcBoundingBox"); } do { // convert the 'Corner' argument
  3778. boost::shared_ptr<const DataType> arg = params[base++];
  3779. try { GenericConvert( in->Corner, arg, db ); break; }
  3780. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBoundingBox to be a `IfcCartesianPoint`")); }
  3781. } while(0);
  3782. do { // convert the 'XDim' argument
  3783. boost::shared_ptr<const DataType> arg = params[base++];
  3784. try { GenericConvert( in->XDim, arg, db ); break; }
  3785. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3786. } while(0);
  3787. do { // convert the 'YDim' argument
  3788. boost::shared_ptr<const DataType> arg = params[base++];
  3789. try { GenericConvert( in->YDim, arg, db ); break; }
  3790. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3791. } while(0);
  3792. do { // convert the 'ZDim' argument
  3793. boost::shared_ptr<const DataType> arg = params[base++];
  3794. try { GenericConvert( in->ZDim, arg, db ); break; }
  3795. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  3796. } while(0);
  3797. return base;
  3798. }
  3799. // -----------------------------------------------------------------------------------------------------------
  3800. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  3801. {
  3802. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3803. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  3804. boost::shared_ptr<const DataType> arg = params[base++];
  3805. try { GenericConvert( in->SbsmBoundary, arg, db ); break; }
  3806. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  3807. } while(0);
  3808. return base;
  3809. }
  3810. // -----------------------------------------------------------------------------------------------------------
  3811. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  3812. {
  3813. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  3814. // this data structure is not used yet, so there is no code generated to fill its members
  3815. return base;
  3816. }
  3817. // -----------------------------------------------------------------------------------------------------------
  3818. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  3819. {
  3820. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  3821. // this data structure is not used yet, so there is no code generated to fill its members
  3822. return base;
  3823. }
  3824. // -----------------------------------------------------------------------------------------------------------
  3825. template <> size_t GenericFill<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  3826. {
  3827. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3828. // this data structure is not used yet, so there is no code generated to fill its members
  3829. return base;
  3830. }
  3831. // -----------------------------------------------------------------------------------------------------------
  3832. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  3833. {
  3834. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3835. // this data structure is not used yet, so there is no code generated to fill its members
  3836. return base;
  3837. }
  3838. // -----------------------------------------------------------------------------------------------------------
  3839. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  3840. {
  3841. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3842. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  3843. boost::shared_ptr<const DataType> arg = params[base++];
  3844. try { GenericConvert( in->RelatedElements, arg, db ); break; }
  3845. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  3846. } while(0);
  3847. do { // convert the 'RelatingStructure' argument
  3848. boost::shared_ptr<const DataType> arg = params[base++];
  3849. try { GenericConvert( in->RelatingStructure, arg, db ); break; }
  3850. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialStructureElement`")); }
  3851. } while(0);
  3852. return base;
  3853. }
  3854. // -----------------------------------------------------------------------------------------------------------
  3855. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  3856. {
  3857. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3858. // this data structure is not used yet, so there is no code generated to fill its members
  3859. return base;
  3860. }
  3861. // -----------------------------------------------------------------------------------------------------------
  3862. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  3863. {
  3864. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3865. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } do { // convert the 'LongName' argument
  3866. boost::shared_ptr<const DataType> arg = params[base++];
  3867. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3868. try { GenericConvert( in->LongName, arg, db ); break; }
  3869. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProject to be a `IfcLabel`")); }
  3870. } while(0);
  3871. do { // convert the 'Phase' argument
  3872. boost::shared_ptr<const DataType> arg = params[base++];
  3873. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3874. try { GenericConvert( in->Phase, arg, db ); break; }
  3875. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProject to be a `IfcLabel`")); }
  3876. } while(0);
  3877. do { // convert the 'RepresentationContexts' argument
  3878. boost::shared_ptr<const DataType> arg = params[base++];
  3879. try { GenericConvert( in->RepresentationContexts, arg, db ); break; }
  3880. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcProject to be a `SET [1:?] OF IfcRepresentationContext`")); }
  3881. } while(0);
  3882. do { // convert the 'UnitsInContext' argument
  3883. boost::shared_ptr<const DataType> arg = params[base++];
  3884. try { GenericConvert( in->UnitsInContext, arg, db ); break; }
  3885. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcProject to be a `IfcUnitAssignment`")); }
  3886. } while(0);
  3887. return base;
  3888. }
  3889. // -----------------------------------------------------------------------------------------------------------
  3890. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  3891. {
  3892. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3893. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  3894. boost::shared_ptr<const DataType> arg = params[base++];
  3895. try { GenericConvert( in->Coordinates, arg, db ); break; }
  3896. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  3897. } while(0);
  3898. return base;
  3899. }
  3900. // -----------------------------------------------------------------------------------------------------------
  3901. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  3902. {
  3903. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  3904. // this data structure is not used yet, so there is no code generated to fill its members
  3905. return base;
  3906. }
  3907. // -----------------------------------------------------------------------------------------------------------
  3908. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  3909. {
  3910. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3911. // this data structure is not used yet, so there is no code generated to fill its members
  3912. return base;
  3913. }
  3914. // -----------------------------------------------------------------------------------------------------------
  3915. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  3916. {
  3917. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3918. // this data structure is not used yet, so there is no code generated to fill its members
  3919. return base;
  3920. }
  3921. // -----------------------------------------------------------------------------------------------------------
  3922. template <> size_t GenericFill<IfcEquipmentStandard>(const DB& db, const LIST& params, IfcEquipmentStandard* in)
  3923. {
  3924. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3925. // this data structure is not used yet, so there is no code generated to fill its members
  3926. return base;
  3927. }
  3928. // -----------------------------------------------------------------------------------------------------------
  3929. template <> size_t GenericFill<IfcDiameterDimension>(const DB& db, const LIST& params, IfcDiameterDimension* in)
  3930. {
  3931. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  3932. // this data structure is not used yet, so there is no code generated to fill its members
  3933. return base;
  3934. }
  3935. // -----------------------------------------------------------------------------------------------------------
  3936. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  3937. {
  3938. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3939. // this data structure is not used yet, so there is no code generated to fill its members
  3940. return base;
  3941. }
  3942. // -----------------------------------------------------------------------------------------------------------
  3943. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  3944. {
  3945. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3946. // this data structure is not used yet, so there is no code generated to fill its members
  3947. return base;
  3948. }
  3949. // -----------------------------------------------------------------------------------------------------------
  3950. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  3951. {
  3952. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  3953. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } return base;
  3954. }
  3955. // -----------------------------------------------------------------------------------------------------------
  3956. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  3957. {
  3958. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3959. // this data structure is not used yet, so there is no code generated to fill its members
  3960. return base;
  3961. }
  3962. // -----------------------------------------------------------------------------------------------------------
  3963. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  3964. {
  3965. size_t base = 0;
  3966. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  3967. boost::shared_ptr<const DataType> arg = params[base++];
  3968. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  3969. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3970. try { GenericConvert( in->Name, arg, db ); break; }
  3971. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  3972. } while(0);
  3973. return base;
  3974. }
  3975. // -----------------------------------------------------------------------------------------------------------
  3976. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  3977. {
  3978. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  3979. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  3980. boost::shared_ptr<const DataType> arg = params[base++];
  3981. try { GenericConvert( in->Red, arg, db ); break; }
  3982. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3983. } while(0);
  3984. do { // convert the 'Green' argument
  3985. boost::shared_ptr<const DataType> arg = params[base++];
  3986. try { GenericConvert( in->Green, arg, db ); break; }
  3987. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3988. } while(0);
  3989. do { // convert the 'Blue' argument
  3990. boost::shared_ptr<const DataType> arg = params[base++];
  3991. try { GenericConvert( in->Blue, arg, db ); break; }
  3992. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  3993. } while(0);
  3994. return base;
  3995. }
  3996. // -----------------------------------------------------------------------------------------------------------
  3997. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  3998. {
  3999. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  4000. // this data structure is not used yet, so there is no code generated to fill its members
  4001. return base;
  4002. }
  4003. // -----------------------------------------------------------------------------------------------------------
  4004. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  4005. {
  4006. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  4007. // this data structure is not used yet, so there is no code generated to fill its members
  4008. return base;
  4009. }
  4010. // -----------------------------------------------------------------------------------------------------------
  4011. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  4012. {
  4013. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4014. // this data structure is not used yet, so there is no code generated to fill its members
  4015. return base;
  4016. }
  4017. // -----------------------------------------------------------------------------------------------------------
  4018. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  4019. {
  4020. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4021. // this data structure is not used yet, so there is no code generated to fill its members
  4022. return base;
  4023. }
  4024. // -----------------------------------------------------------------------------------------------------------
  4025. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  4026. {
  4027. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4028. // this data structure is not used yet, so there is no code generated to fill its members
  4029. return base;
  4030. }
  4031. // -----------------------------------------------------------------------------------------------------------
  4032. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  4033. {
  4034. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4035. // this data structure is not used yet, so there is no code generated to fill its members
  4036. return base;
  4037. }
  4038. // -----------------------------------------------------------------------------------------------------------
  4039. template <> size_t GenericFill<IfcAnnotationSurfaceOccurrence>(const DB& db, const LIST& params, IfcAnnotationSurfaceOccurrence* in)
  4040. {
  4041. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  4042. // this data structure is not used yet, so there is no code generated to fill its members
  4043. return base;
  4044. }
  4045. // -----------------------------------------------------------------------------------------------------------
  4046. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  4047. {
  4048. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4049. // this data structure is not used yet, so there is no code generated to fill its members
  4050. return base;
  4051. }
  4052. // -----------------------------------------------------------------------------------------------------------
  4053. template <> size_t GenericFill<IfcRationalBezierCurve>(const DB& db, const LIST& params, IfcRationalBezierCurve* in)
  4054. {
  4055. size_t base = GenericFill(db,params,static_cast<IfcBezierCurve*>(in));
  4056. // this data structure is not used yet, so there is no code generated to fill its members
  4057. return base;
  4058. }
  4059. // -----------------------------------------------------------------------------------------------------------
  4060. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  4061. {
  4062. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  4063. // this data structure is not used yet, so there is no code generated to fill its members
  4064. return base;
  4065. }
  4066. // -----------------------------------------------------------------------------------------------------------
  4067. template <> size_t GenericFill<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  4068. {
  4069. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(in));
  4070. // this data structure is not used yet, so there is no code generated to fill its members
  4071. return base;
  4072. }
  4073. // -----------------------------------------------------------------------------------------------------------
  4074. template <> size_t GenericFill<IfcMove>(const DB& db, const LIST& params, IfcMove* in)
  4075. {
  4076. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  4077. // this data structure is not used yet, so there is no code generated to fill its members
  4078. return base;
  4079. }
  4080. // -----------------------------------------------------------------------------------------------------------
  4081. template <> size_t GenericFill<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  4082. {
  4083. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4084. // this data structure is not used yet, so there is no code generated to fill its members
  4085. return base;
  4086. }
  4087. // -----------------------------------------------------------------------------------------------------------
  4088. template <> size_t GenericFill<IfcElectricalElement>(const DB& db, const LIST& params, IfcElectricalElement* in)
  4089. {
  4090. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4091. // this data structure is not used yet, so there is no code generated to fill its members
  4092. return base;
  4093. }
  4094. // -----------------------------------------------------------------------------------------------------------
  4095. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  4096. {
  4097. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4098. // this data structure is not used yet, so there is no code generated to fill its members
  4099. return base;
  4100. }
  4101. // -----------------------------------------------------------------------------------------------------------
  4102. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  4103. {
  4104. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4105. // this data structure is not used yet, so there is no code generated to fill its members
  4106. return base;
  4107. }
  4108. // -----------------------------------------------------------------------------------------------------------
  4109. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  4110. {
  4111. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4112. // this data structure is not used yet, so there is no code generated to fill its members
  4113. return base;
  4114. }
  4115. // -----------------------------------------------------------------------------------------------------------
  4116. template <> size_t GenericFill<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  4117. {
  4118. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4119. // this data structure is not used yet, so there is no code generated to fill its members
  4120. return base;
  4121. }
  4122. // -----------------------------------------------------------------------------------------------------------
  4123. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  4124. {
  4125. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4126. // this data structure is not used yet, so there is no code generated to fill its members
  4127. return base;
  4128. }
  4129. // -----------------------------------------------------------------------------------------------------------
  4130. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  4131. {
  4132. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4133. // this data structure is not used yet, so there is no code generated to fill its members
  4134. return base;
  4135. }
  4136. // -----------------------------------------------------------------------------------------------------------
  4137. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  4138. {
  4139. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4140. // this data structure is not used yet, so there is no code generated to fill its members
  4141. return base;
  4142. }
  4143. // -----------------------------------------------------------------------------------------------------------
  4144. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  4145. {
  4146. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4147. // this data structure is not used yet, so there is no code generated to fill its members
  4148. return base;
  4149. }
  4150. // -----------------------------------------------------------------------------------------------------------
  4151. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  4152. {
  4153. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  4154. // this data structure is not used yet, so there is no code generated to fill its members
  4155. return base;
  4156. }
  4157. // -----------------------------------------------------------------------------------------------------------
  4158. template <> size_t GenericFill<IfcEquipmentElement>(const DB& db, const LIST& params, IfcEquipmentElement* in)
  4159. {
  4160. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4161. // this data structure is not used yet, so there is no code generated to fill its members
  4162. return base;
  4163. }
  4164. // -----------------------------------------------------------------------------------------------------------
  4165. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  4166. {
  4167. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4168. // this data structure is not used yet, so there is no code generated to fill its members
  4169. return base;
  4170. }
  4171. // -----------------------------------------------------------------------------------------------------------
  4172. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  4173. {
  4174. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4175. // this data structure is not used yet, so there is no code generated to fill its members
  4176. return base;
  4177. }
  4178. // -----------------------------------------------------------------------------------------------------------
  4179. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  4180. {
  4181. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4182. // this data structure is not used yet, so there is no code generated to fill its members
  4183. return base;
  4184. }
  4185. // -----------------------------------------------------------------------------------------------------------
  4186. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  4187. {
  4188. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4189. // this data structure is not used yet, so there is no code generated to fill its members
  4190. return base;
  4191. }
  4192. // -----------------------------------------------------------------------------------------------------------
  4193. template <> size_t GenericFill<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  4194. {
  4195. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4196. // this data structure is not used yet, so there is no code generated to fill its members
  4197. return base;
  4198. }
  4199. // -----------------------------------------------------------------------------------------------------------
  4200. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  4201. {
  4202. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  4203. // this data structure is not used yet, so there is no code generated to fill its members
  4204. return base;
  4205. }
  4206. // -----------------------------------------------------------------------------------------------------------
  4207. template <> size_t GenericFill<IfcCraneRailAShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailAShapeProfileDef* in)
  4208. {
  4209. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4210. // this data structure is not used yet, so there is no code generated to fill its members
  4211. return base;
  4212. }
  4213. // -----------------------------------------------------------------------------------------------------------
  4214. template <> size_t GenericFill<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  4215. {
  4216. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4217. // this data structure is not used yet, so there is no code generated to fill its members
  4218. return base;
  4219. }
  4220. // -----------------------------------------------------------------------------------------------------------
  4221. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  4222. {
  4223. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4224. // this data structure is not used yet, so there is no code generated to fill its members
  4225. return base;
  4226. }
  4227. // -----------------------------------------------------------------------------------------------------------
  4228. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  4229. {
  4230. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4231. // this data structure is not used yet, so there is no code generated to fill its members
  4232. return base;
  4233. }
  4234. // -----------------------------------------------------------------------------------------------------------
  4235. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  4236. {
  4237. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  4238. // this data structure is not used yet, so there is no code generated to fill its members
  4239. return base;
  4240. }
  4241. // -----------------------------------------------------------------------------------------------------------
  4242. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  4243. {
  4244. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4245. // this data structure is not used yet, so there is no code generated to fill its members
  4246. return base;
  4247. }
  4248. // -----------------------------------------------------------------------------------------------------------
  4249. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* in)
  4250. {
  4251. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4252. // this data structure is not used yet, so there is no code generated to fill its members
  4253. return base;
  4254. }
  4255. // -----------------------------------------------------------------------------------------------------------
  4256. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  4257. {
  4258. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4259. // this data structure is not used yet, so there is no code generated to fill its members
  4260. return base;
  4261. }
  4262. // -----------------------------------------------------------------------------------------------------------
  4263. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  4264. {
  4265. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  4266. // this data structure is not used yet, so there is no code generated to fill its members
  4267. return base;
  4268. }
  4269. // -----------------------------------------------------------------------------------------------------------
  4270. template <> size_t GenericFill<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  4271. {
  4272. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4273. // this data structure is not used yet, so there is no code generated to fill its members
  4274. return base;
  4275. }
  4276. // -----------------------------------------------------------------------------------------------------------
  4277. template <> size_t GenericFill<IfcAnnotationSurface>(const DB& db, const LIST& params, IfcAnnotationSurface* in)
  4278. {
  4279. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4280. // this data structure is not used yet, so there is no code generated to fill its members
  4281. return base;
  4282. }
  4283. // -----------------------------------------------------------------------------------------------------------
  4284. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  4285. {
  4286. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4287. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcCompositeCurveSegment"); } do { // convert the 'Transition' argument
  4288. boost::shared_ptr<const DataType> arg = params[base++];
  4289. try { GenericConvert( in->Transition, arg, db ); break; }
  4290. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurveSegment to be a `IfcTransitionCode`")); }
  4291. } while(0);
  4292. do { // convert the 'SameSense' argument
  4293. boost::shared_ptr<const DataType> arg = params[base++];
  4294. try { GenericConvert( in->SameSense, arg, db ); break; }
  4295. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurveSegment to be a `BOOLEAN`")); }
  4296. } while(0);
  4297. do { // convert the 'ParentCurve' argument
  4298. boost::shared_ptr<const DataType> arg = params[base++];
  4299. try { GenericConvert( in->ParentCurve, arg, db ); break; }
  4300. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCompositeCurveSegment to be a `IfcCurve`")); }
  4301. } while(0);
  4302. return base;
  4303. }
  4304. // -----------------------------------------------------------------------------------------------------------
  4305. template <> size_t GenericFill<IfcServiceLife>(const DB& db, const LIST& params, IfcServiceLife* in)
  4306. {
  4307. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4308. // this data structure is not used yet, so there is no code generated to fill its members
  4309. return base;
  4310. }
  4311. // -----------------------------------------------------------------------------------------------------------
  4312. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  4313. {
  4314. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4315. // this data structure is not used yet, so there is no code generated to fill its members
  4316. return base;
  4317. }
  4318. // -----------------------------------------------------------------------------------------------------------
  4319. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  4320. {
  4321. size_t base = GenericFill(db,params,static_cast<IfcDiscreteAccessoryType*>(in));
  4322. // this data structure is not used yet, so there is no code generated to fill its members
  4323. return base;
  4324. }
  4325. // -----------------------------------------------------------------------------------------------------------
  4326. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  4327. {
  4328. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4329. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcTrimmedCurve"); } do { // convert the 'BasisCurve' argument
  4330. boost::shared_ptr<const DataType> arg = params[base++];
  4331. try { GenericConvert( in->BasisCurve, arg, db ); break; }
  4332. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcTrimmedCurve to be a `IfcCurve`")); }
  4333. } while(0);
  4334. do { // convert the 'Trim1' argument
  4335. boost::shared_ptr<const DataType> arg = params[base++];
  4336. try { GenericConvert( in->Trim1, arg, db ); break; }
  4337. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4338. } while(0);
  4339. do { // convert the 'Trim2' argument
  4340. boost::shared_ptr<const DataType> arg = params[base++];
  4341. try { GenericConvert( in->Trim2, arg, db ); break; }
  4342. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4343. } while(0);
  4344. do { // convert the 'SenseAgreement' argument
  4345. boost::shared_ptr<const DataType> arg = params[base++];
  4346. try { GenericConvert( in->SenseAgreement, arg, db ); break; }
  4347. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcTrimmedCurve to be a `BOOLEAN`")); }
  4348. } while(0);
  4349. do { // convert the 'MasterRepresentation' argument
  4350. boost::shared_ptr<const DataType> arg = params[base++];
  4351. try { GenericConvert( in->MasterRepresentation, arg, db ); break; }
  4352. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcTrimmedCurve to be a `IfcTrimmingPreference`")); }
  4353. } while(0);
  4354. return base;
  4355. }
  4356. // -----------------------------------------------------------------------------------------------------------
  4357. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  4358. {
  4359. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  4360. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  4361. boost::shared_ptr<const DataType> arg = params[base++];
  4362. try { GenericConvert( in->MappingSource, arg, db ); break; }
  4363. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  4364. } while(0);
  4365. do { // convert the 'MappingTarget' argument
  4366. boost::shared_ptr<const DataType> arg = params[base++];
  4367. try { GenericConvert( in->MappingTarget, arg, db ); break; }
  4368. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  4369. } while(0);
  4370. return base;
  4371. }
  4372. // -----------------------------------------------------------------------------------------------------------
  4373. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  4374. {
  4375. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4376. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  4377. boost::shared_ptr<const DataType> arg = params[base++];
  4378. try { GenericConvert( in->DirectionRatios, arg, db ); break; }
  4379. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF REAL`")); }
  4380. } while(0);
  4381. return base;
  4382. }
  4383. // -----------------------------------------------------------------------------------------------------------
  4384. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  4385. {
  4386. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4387. // this data structure is not used yet, so there is no code generated to fill its members
  4388. return base;
  4389. }
  4390. // -----------------------------------------------------------------------------------------------------------
  4391. template <> size_t GenericFill<IfcProjectOrderRecord>(const DB& db, const LIST& params, IfcProjectOrderRecord* in)
  4392. {
  4393. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4394. // this data structure is not used yet, so there is no code generated to fill its members
  4395. return base;
  4396. }
  4397. // -----------------------------------------------------------------------------------------------------------
  4398. template <> size_t GenericFill<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  4399. {
  4400. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4401. // this data structure is not used yet, so there is no code generated to fill its members
  4402. return base;
  4403. }
  4404. // -----------------------------------------------------------------------------------------------------------
  4405. template <> size_t GenericFill<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  4406. {
  4407. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4408. // this data structure is not used yet, so there is no code generated to fill its members
  4409. return base;
  4410. }
  4411. // -----------------------------------------------------------------------------------------------------------
  4412. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  4413. {
  4414. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4415. // this data structure is not used yet, so there is no code generated to fill its members
  4416. return base;
  4417. }
  4418. // -----------------------------------------------------------------------------------------------------------
  4419. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  4420. {
  4421. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  4422. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  4423. boost::shared_ptr<const DataType> arg = params[base++];
  4424. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  4425. try { GenericConvert( in->Curve, arg, db ); break; }
  4426. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  4427. } while(0);
  4428. return base;
  4429. }
  4430. // -----------------------------------------------------------------------------------------------------------
  4431. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  4432. {
  4433. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  4434. // this data structure is not used yet, so there is no code generated to fill its members
  4435. return base;
  4436. }
  4437. // -----------------------------------------------------------------------------------------------------------
  4438. template <> size_t GenericFill<IfcTimeSeriesSchedule>(const DB& db, const LIST& params, IfcTimeSeriesSchedule* in)
  4439. {
  4440. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4441. // this data structure is not used yet, so there is no code generated to fill its members
  4442. return base;
  4443. }
  4444. // -----------------------------------------------------------------------------------------------------------
  4445. template <> size_t GenericFill<IfcRoundedEdgeFeature>(const DB& db, const LIST& params, IfcRoundedEdgeFeature* in)
  4446. {
  4447. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  4448. // this data structure is not used yet, so there is no code generated to fill its members
  4449. return base;
  4450. }
  4451. // -----------------------------------------------------------------------------------------------------------
  4452. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  4453. {
  4454. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4455. // this data structure is not used yet, so there is no code generated to fill its members
  4456. return base;
  4457. }
  4458. // -----------------------------------------------------------------------------------------------------------
  4459. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  4460. {
  4461. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4462. // this data structure is not used yet, so there is no code generated to fill its members
  4463. return base;
  4464. }
  4465. // -----------------------------------------------------------------------------------------------------------
  4466. template <> size_t GenericFill<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  4467. {
  4468. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4469. // this data structure is not used yet, so there is no code generated to fill its members
  4470. return base;
  4471. }
  4472. // -----------------------------------------------------------------------------------------------------------
  4473. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4474. {
  4475. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4476. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4477. boost::shared_ptr<const DataType> arg = params[base++];
  4478. try { GenericConvert( in->Axis, arg, db ); break; }
  4479. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4480. } while(0);
  4481. do { // convert the 'Angle' argument
  4482. boost::shared_ptr<const DataType> arg = params[base++];
  4483. try { GenericConvert( in->Angle, arg, db ); break; }
  4484. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4485. } while(0);
  4486. return base;
  4487. }
  4488. // -----------------------------------------------------------------------------------------------------------
  4489. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  4490. {
  4491. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4492. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  4493. boost::shared_ptr<const DataType> arg = params[base++];
  4494. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4495. try { GenericConvert( in->OverallHeight, arg, db ); break; }
  4496. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4497. } while(0);
  4498. do { // convert the 'OverallWidth' argument
  4499. boost::shared_ptr<const DataType> arg = params[base++];
  4500. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4501. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  4502. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  4503. } while(0);
  4504. return base;
  4505. }
  4506. // -----------------------------------------------------------------------------------------------------------
  4507. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  4508. {
  4509. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  4510. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcEllipse"); } do { // convert the 'SemiAxis1' argument
  4511. boost::shared_ptr<const DataType> arg = params[base++];
  4512. try { GenericConvert( in->SemiAxis1, arg, db ); break; }
  4513. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  4514. } while(0);
  4515. do { // convert the 'SemiAxis2' argument
  4516. boost::shared_ptr<const DataType> arg = params[base++];
  4517. try { GenericConvert( in->SemiAxis2, arg, db ); break; }
  4518. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  4519. } while(0);
  4520. return base;
  4521. }
  4522. // -----------------------------------------------------------------------------------------------------------
  4523. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  4524. {
  4525. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4526. // this data structure is not used yet, so there is no code generated to fill its members
  4527. return base;
  4528. }
  4529. // -----------------------------------------------------------------------------------------------------------
  4530. template <> size_t GenericFill<IfcAngularDimension>(const DB& db, const LIST& params, IfcAngularDimension* in)
  4531. {
  4532. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  4533. // this data structure is not used yet, so there is no code generated to fill its members
  4534. return base;
  4535. }
  4536. // -----------------------------------------------------------------------------------------------------------
  4537. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  4538. {
  4539. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4540. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFaceBasedSurfaceModel"); } do { // convert the 'FbsmFaces' argument
  4541. boost::shared_ptr<const DataType> arg = params[base++];
  4542. try { GenericConvert( in->FbsmFaces, arg, db ); break; }
  4543. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBasedSurfaceModel to be a `SET [1:?] OF IfcConnectedFaceSet`")); }
  4544. } while(0);
  4545. return base;
  4546. }
  4547. // -----------------------------------------------------------------------------------------------------------
  4548. template <> size_t GenericFill<IfcCraneRailFShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailFShapeProfileDef* in)
  4549. {
  4550. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4551. // this data structure is not used yet, so there is no code generated to fill its members
  4552. return base;
  4553. }
  4554. // -----------------------------------------------------------------------------------------------------------
  4555. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  4556. {
  4557. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4558. // this data structure is not used yet, so there is no code generated to fill its members
  4559. return base;
  4560. }
  4561. // -----------------------------------------------------------------------------------------------------------
  4562. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  4563. {
  4564. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4565. // this data structure is not used yet, so there is no code generated to fill its members
  4566. return base;
  4567. }
  4568. // -----------------------------------------------------------------------------------------------------------
  4569. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  4570. {
  4571. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  4572. // this data structure is not used yet, so there is no code generated to fill its members
  4573. return base;
  4574. }
  4575. // -----------------------------------------------------------------------------------------------------------
  4576. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  4577. {
  4578. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  4579. // this data structure is not used yet, so there is no code generated to fill its members
  4580. return base;
  4581. }
  4582. // -----------------------------------------------------------------------------------------------------------
  4583. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  4584. {
  4585. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4586. // this data structure is not used yet, so there is no code generated to fill its members
  4587. return base;
  4588. }
  4589. // -----------------------------------------------------------------------------------------------------------
  4590. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  4591. {
  4592. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4593. // this data structure is not used yet, so there is no code generated to fill its members
  4594. return base;
  4595. }
  4596. // -----------------------------------------------------------------------------------------------------------
  4597. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  4598. {
  4599. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  4600. // this data structure is not used yet, so there is no code generated to fill its members
  4601. return base;
  4602. }
  4603. // -----------------------------------------------------------------------------------------------------------
  4604. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  4605. {
  4606. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4607. // this data structure is not used yet, so there is no code generated to fill its members
  4608. return base;
  4609. }
  4610. // -----------------------------------------------------------------------------------------------------------
  4611. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  4612. {
  4613. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  4614. // this data structure is not used yet, so there is no code generated to fill its members
  4615. return base;
  4616. }
  4617. // -----------------------------------------------------------------------------------------------------------
  4618. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  4619. {
  4620. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  4621. // this data structure is not used yet, so there is no code generated to fill its members
  4622. return base;
  4623. }
  4624. // -----------------------------------------------------------------------------------------------------------
  4625. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  4626. {
  4627. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  4628. // this data structure is not used yet, so there is no code generated to fill its members
  4629. return base;
  4630. }
  4631. // -----------------------------------------------------------------------------------------------------------
  4632. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  4633. {
  4634. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  4635. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  4636. }
  4637. // -----------------------------------------------------------------------------------------------------------
  4638. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  4639. {
  4640. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4641. // this data structure is not used yet, so there is no code generated to fill its members
  4642. return base;
  4643. }
  4644. // -----------------------------------------------------------------------------------------------------------
  4645. template <> size_t GenericFill<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  4646. {
  4647. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(in));
  4648. // this data structure is not used yet, so there is no code generated to fill its members
  4649. return base;
  4650. }
  4651. // -----------------------------------------------------------------------------------------------------------
  4652. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  4653. {
  4654. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4655. // this data structure is not used yet, so there is no code generated to fill its members
  4656. return base;
  4657. }
  4658. // -----------------------------------------------------------------------------------------------------------
  4659. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  4660. {
  4661. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4662. // this data structure is not used yet, so there is no code generated to fill its members
  4663. return base;
  4664. }
  4665. // -----------------------------------------------------------------------------------------------------------
  4666. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  4667. {
  4668. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4669. // this data structure is not used yet, so there is no code generated to fill its members
  4670. return base;
  4671. }
  4672. // -----------------------------------------------------------------------------------------------------------
  4673. template <> size_t GenericFill<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  4674. {
  4675. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4676. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  4677. boost::shared_ptr<const DataType> arg = params[base++];
  4678. try { GenericConvert( in->Points, arg, db ); break; }
  4679. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  4680. } while(0);
  4681. return base;
  4682. }
  4683. // -----------------------------------------------------------------------------------------------------------
  4684. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  4685. {
  4686. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  4687. // this data structure is not used yet, so there is no code generated to fill its members
  4688. return base;
  4689. }
  4690. // -----------------------------------------------------------------------------------------------------------
  4691. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  4692. {
  4693. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4694. // this data structure is not used yet, so there is no code generated to fill its members
  4695. return base;
  4696. }
  4697. // -----------------------------------------------------------------------------------------------------------
  4698. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  4699. {
  4700. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  4701. // this data structure is not used yet, so there is no code generated to fill its members
  4702. return base;
  4703. }
  4704. // -----------------------------------------------------------------------------------------------------------
  4705. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  4706. {
  4707. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4708. // this data structure is not used yet, so there is no code generated to fill its members
  4709. return base;
  4710. }
  4711. // -----------------------------------------------------------------------------------------------------------
  4712. template <> size_t GenericFill<IfcStructuredDimensionCallout>(const DB& db, const LIST& params, IfcStructuredDimensionCallout* in)
  4713. {
  4714. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  4715. // this data structure is not used yet, so there is no code generated to fill its members
  4716. return base;
  4717. }
  4718. // -----------------------------------------------------------------------------------------------------------
  4719. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  4720. {
  4721. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4722. // this data structure is not used yet, so there is no code generated to fill its members
  4723. return base;
  4724. }
  4725. // -----------------------------------------------------------------------------------------------------------
  4726. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  4727. {
  4728. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4729. // this data structure is not used yet, so there is no code generated to fill its members
  4730. return base;
  4731. }
  4732. // -----------------------------------------------------------------------------------------------------------
  4733. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  4734. {
  4735. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  4736. // this data structure is not used yet, so there is no code generated to fill its members
  4737. return base;
  4738. }
  4739. // -----------------------------------------------------------------------------------------------------------
  4740. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  4741. {
  4742. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  4743. // this data structure is not used yet, so there is no code generated to fill its members
  4744. return base;
  4745. }
  4746. // -----------------------------------------------------------------------------------------------------------
  4747. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  4748. {
  4749. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4750. // this data structure is not used yet, so there is no code generated to fill its members
  4751. return base;
  4752. }
  4753. // -----------------------------------------------------------------------------------------------------------
  4754. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  4755. {
  4756. size_t base = GenericFill(db,params,static_cast<IfcIShapeProfileDef*>(in));
  4757. // this data structure is not used yet, so there is no code generated to fill its members
  4758. return base;
  4759. }
  4760. // -----------------------------------------------------------------------------------------------------------
  4761. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4762. {
  4763. size_t base = 0;
  4764. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4765. boost::shared_ptr<const DataType> arg = params[base++];
  4766. try { GenericConvert( in->MappingOrigin, arg, db ); break; }
  4767. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4768. } while(0);
  4769. do { // convert the 'MappedRepresentation' argument
  4770. boost::shared_ptr<const DataType> arg = params[base++];
  4771. try { GenericConvert( in->MappedRepresentation, arg, db ); break; }
  4772. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4773. } while(0);
  4774. return base;
  4775. }
  4776. } // ! STEP
  4777. } // ! Assimp
  4778. #endif