IFCReaderGen.cpp 329 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034
  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("ifcabsorbeddosemeasure",NULL )
  43. , SchemaEntry("ifcaccelerationmeasure",NULL )
  44. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  45. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  46. , SchemaEntry("ifcareameasure",NULL )
  47. , SchemaEntry("ifcboolean",NULL )
  48. , SchemaEntry("ifcboxalignment",NULL )
  49. , SchemaEntry("ifccomplexnumber",NULL )
  50. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  51. , SchemaEntry("ifccontextdependentmeasure",NULL )
  52. , SchemaEntry("ifccountmeasure",NULL )
  53. , SchemaEntry("ifccurvaturemeasure",NULL )
  54. , SchemaEntry("ifcdayinmonthnumber",NULL )
  55. , SchemaEntry("ifcdaylightsavinghour",NULL )
  56. , SchemaEntry("ifcdescriptivemeasure",NULL )
  57. , SchemaEntry("ifcdimensioncount",NULL )
  58. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  59. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  60. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  61. , SchemaEntry("ifcelectricchargemeasure",NULL )
  62. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  63. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  64. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  65. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  66. , SchemaEntry("ifcenergymeasure",NULL )
  67. , SchemaEntry("ifcfontstyle",NULL )
  68. , SchemaEntry("ifcfontvariant",NULL )
  69. , SchemaEntry("ifcfontweight",NULL )
  70. , SchemaEntry("ifcforcemeasure",NULL )
  71. , SchemaEntry("ifcfrequencymeasure",NULL )
  72. , SchemaEntry("ifcgloballyuniqueid",NULL )
  73. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  74. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  75. , SchemaEntry("ifchourinday",NULL )
  76. , SchemaEntry("ifcidentifier",NULL )
  77. , SchemaEntry("ifcilluminancemeasure",NULL )
  78. , SchemaEntry("ifcinductancemeasure",NULL )
  79. , SchemaEntry("ifcinteger",NULL )
  80. , SchemaEntry("ifcintegercountratemeasure",NULL )
  81. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  82. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  83. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  84. , SchemaEntry("ifclabel",NULL )
  85. , SchemaEntry("ifclengthmeasure",NULL )
  86. , SchemaEntry("ifclinearforcemeasure",NULL )
  87. , SchemaEntry("ifclinearmomentmeasure",NULL )
  88. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  89. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  90. , SchemaEntry("ifclogical",NULL )
  91. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  92. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  93. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  94. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  95. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  96. , SchemaEntry("ifcmassdensitymeasure",NULL )
  97. , SchemaEntry("ifcmassflowratemeasure",NULL )
  98. , SchemaEntry("ifcmassmeasure",NULL )
  99. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  100. , SchemaEntry("ifcminuteinhour",NULL )
  101. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  102. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  103. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  104. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  105. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  106. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  107. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  108. , SchemaEntry("ifcmonetarymeasure",NULL )
  109. , SchemaEntry("ifcmonthinyearnumber",NULL )
  110. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  111. , SchemaEntry("ifcnumericmeasure",NULL )
  112. , SchemaEntry("ifcphmeasure",NULL )
  113. , SchemaEntry("ifcparametervalue",NULL )
  114. , SchemaEntry("ifcplanarforcemeasure",NULL )
  115. , SchemaEntry("ifcplaneanglemeasure",NULL )
  116. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  117. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  118. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  119. , SchemaEntry("ifcpowermeasure",NULL )
  120. , SchemaEntry("ifcpresentabletext",NULL )
  121. , SchemaEntry("ifcpressuremeasure",NULL )
  122. , SchemaEntry("ifcradioactivitymeasure",NULL )
  123. , SchemaEntry("ifcratiomeasure",NULL )
  124. , SchemaEntry("ifcreal",NULL )
  125. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  126. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  127. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  128. , SchemaEntry("ifcsecondinminute",NULL )
  129. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  130. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  131. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  132. , SchemaEntry("ifcsolidanglemeasure",NULL )
  133. , SchemaEntry("ifcsoundpowermeasure",NULL )
  134. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  135. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  136. , SchemaEntry("ifcspecularexponent",NULL )
  137. , SchemaEntry("ifcspecularroughness",NULL )
  138. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  139. , SchemaEntry("ifctext",NULL )
  140. , SchemaEntry("ifctextalignment",NULL )
  141. , SchemaEntry("ifctextdecoration",NULL )
  142. , SchemaEntry("ifctextfontname",NULL )
  143. , SchemaEntry("ifctexttransformation",NULL )
  144. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  145. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  146. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  147. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  148. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  149. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  150. , SchemaEntry("ifctimemeasure",NULL )
  151. , SchemaEntry("ifctimestamp",NULL )
  152. , SchemaEntry("ifctorquemeasure",NULL )
  153. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  154. , SchemaEntry("ifcvolumemeasure",NULL )
  155. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  156. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  157. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  158. , SchemaEntry("ifcyearnumber",NULL )
  159. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  160. , SchemaEntry("ifcactiontypeenum",NULL )
  161. , SchemaEntry("ifcactuatortypeenum",NULL )
  162. , SchemaEntry("ifcaddresstypeenum",NULL )
  163. , SchemaEntry("ifcaheadorbehind",NULL )
  164. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  165. , SchemaEntry("ifcairterminaltypeenum",NULL )
  166. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  167. , SchemaEntry("ifcalarmtypeenum",NULL )
  168. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  169. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  170. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  171. , SchemaEntry("ifcassemblyplaceenum",NULL )
  172. , SchemaEntry("ifcbsplinecurveform",NULL )
  173. , SchemaEntry("ifcbeamtypeenum",NULL )
  174. , SchemaEntry("ifcbenchmarkenum",NULL )
  175. , SchemaEntry("ifcboilertypeenum",NULL )
  176. , SchemaEntry("ifcbooleanoperator",NULL )
  177. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  178. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  179. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  180. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  181. , SchemaEntry("ifcchangeactionenum",NULL )
  182. , SchemaEntry("ifcchillertypeenum",NULL )
  183. , SchemaEntry("ifccoiltypeenum",NULL )
  184. , SchemaEntry("ifccolumntypeenum",NULL )
  185. , SchemaEntry("ifccompressortypeenum",NULL )
  186. , SchemaEntry("ifccondensertypeenum",NULL )
  187. , SchemaEntry("ifcconnectiontypeenum",NULL )
  188. , SchemaEntry("ifcconstraintenum",NULL )
  189. , SchemaEntry("ifccontrollertypeenum",NULL )
  190. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  191. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  192. , SchemaEntry("ifccostscheduletypeenum",NULL )
  193. , SchemaEntry("ifccoveringtypeenum",NULL )
  194. , SchemaEntry("ifccurrencyenum",NULL )
  195. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  196. , SchemaEntry("ifcdampertypeenum",NULL )
  197. , SchemaEntry("ifcdataoriginenum",NULL )
  198. , SchemaEntry("ifcderivedunitenum",NULL )
  199. , SchemaEntry("ifcdimensionextentusage",NULL )
  200. , SchemaEntry("ifcdirectionsenseenum",NULL )
  201. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  202. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  203. , SchemaEntry("ifcdocumentstatusenum",NULL )
  204. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  205. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  206. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  207. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  208. , SchemaEntry("ifcductfittingtypeenum",NULL )
  209. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  210. , SchemaEntry("ifcductsilencertypeenum",NULL )
  211. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  212. , SchemaEntry("ifcelectriccurrentenum",NULL )
  213. , SchemaEntry("ifcelectricdistributionpointfunctionenum",NULL )
  214. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  215. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  216. , SchemaEntry("ifcelectricheatertypeenum",NULL )
  217. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  218. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  219. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  220. , SchemaEntry("ifcelementcompositionenum",NULL )
  221. , SchemaEntry("ifcenergysequenceenum",NULL )
  222. , SchemaEntry("ifcenvironmentalimpactcategoryenum",NULL )
  223. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  224. , SchemaEntry("ifcevaporatortypeenum",NULL )
  225. , SchemaEntry("ifcfantypeenum",NULL )
  226. , SchemaEntry("ifcfiltertypeenum",NULL )
  227. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  228. , SchemaEntry("ifcflowdirectionenum",NULL )
  229. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  230. , SchemaEntry("ifcflowmetertypeenum",NULL )
  231. , SchemaEntry("ifcfootingtypeenum",NULL )
  232. , SchemaEntry("ifcgasterminaltypeenum",NULL )
  233. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  234. , SchemaEntry("ifcglobalorlocalenum",NULL )
  235. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  236. , SchemaEntry("ifchumidifiertypeenum",NULL )
  237. , SchemaEntry("ifcinternalorexternalenum",NULL )
  238. , SchemaEntry("ifcinventorytypeenum",NULL )
  239. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  240. , SchemaEntry("ifclamptypeenum",NULL )
  241. , SchemaEntry("ifclayersetdirectionenum",NULL )
  242. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  243. , SchemaEntry("ifclightemissionsourceenum",NULL )
  244. , SchemaEntry("ifclightfixturetypeenum",NULL )
  245. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  246. , SchemaEntry("ifclogicaloperatorenum",NULL )
  247. , SchemaEntry("ifcmembertypeenum",NULL )
  248. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  249. , SchemaEntry("ifcnullstyle",NULL )
  250. , SchemaEntry("ifcobjecttypeenum",NULL )
  251. , SchemaEntry("ifcobjectiveenum",NULL )
  252. , SchemaEntry("ifcoccupanttypeenum",NULL )
  253. , SchemaEntry("ifcoutlettypeenum",NULL )
  254. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  255. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  256. , SchemaEntry("ifcpileconstructionenum",NULL )
  257. , SchemaEntry("ifcpiletypeenum",NULL )
  258. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  259. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  260. , SchemaEntry("ifcplatetypeenum",NULL )
  261. , SchemaEntry("ifcproceduretypeenum",NULL )
  262. , SchemaEntry("ifcprofiletypeenum",NULL )
  263. , SchemaEntry("ifcprojectorderrecordtypeenum",NULL )
  264. , SchemaEntry("ifcprojectordertypeenum",NULL )
  265. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  266. , SchemaEntry("ifcpropertysourceenum",NULL )
  267. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  268. , SchemaEntry("ifcpumptypeenum",NULL )
  269. , SchemaEntry("ifcrailingtypeenum",NULL )
  270. , SchemaEntry("ifcrampflighttypeenum",NULL )
  271. , SchemaEntry("ifcramptypeenum",NULL )
  272. , SchemaEntry("ifcreflectancemethodenum",NULL )
  273. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  274. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  275. , SchemaEntry("ifcresourceconsumptionenum",NULL )
  276. , SchemaEntry("ifcribplatedirectionenum",NULL )
  277. , SchemaEntry("ifcroleenum",NULL )
  278. , SchemaEntry("ifcrooftypeenum",NULL )
  279. , SchemaEntry("ifcsiprefix",NULL )
  280. , SchemaEntry("ifcsiunitname",NULL )
  281. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  282. , SchemaEntry("ifcsectiontypeenum",NULL )
  283. , SchemaEntry("ifcsensortypeenum",NULL )
  284. , SchemaEntry("ifcsequenceenum",NULL )
  285. , SchemaEntry("ifcservicelifefactortypeenum",NULL )
  286. , SchemaEntry("ifcservicelifetypeenum",NULL )
  287. , SchemaEntry("ifcslabtypeenum",NULL )
  288. , SchemaEntry("ifcsoundscaleenum",NULL )
  289. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  290. , SchemaEntry("ifcspacetypeenum",NULL )
  291. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  292. , SchemaEntry("ifcstairflighttypeenum",NULL )
  293. , SchemaEntry("ifcstairtypeenum",NULL )
  294. , SchemaEntry("ifcstateenum",NULL )
  295. , SchemaEntry("ifcstructuralcurvetypeenum",NULL )
  296. , SchemaEntry("ifcstructuralsurfacetypeenum",NULL )
  297. , SchemaEntry("ifcsurfaceside",NULL )
  298. , SchemaEntry("ifcsurfacetextureenum",NULL )
  299. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  300. , SchemaEntry("ifctanktypeenum",NULL )
  301. , SchemaEntry("ifctendontypeenum",NULL )
  302. , SchemaEntry("ifctextpath",NULL )
  303. , SchemaEntry("ifcthermalloadsourceenum",NULL )
  304. , SchemaEntry("ifcthermalloadtypeenum",NULL )
  305. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  306. , SchemaEntry("ifctimeseriesscheduletypeenum",NULL )
  307. , SchemaEntry("ifctransformertypeenum",NULL )
  308. , SchemaEntry("ifctransitioncode",NULL )
  309. , SchemaEntry("ifctransportelementtypeenum",NULL )
  310. , SchemaEntry("ifctrimmingpreference",NULL )
  311. , SchemaEntry("ifctubebundletypeenum",NULL )
  312. , SchemaEntry("ifcunitenum",NULL )
  313. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  314. , SchemaEntry("ifcvalvetypeenum",NULL )
  315. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  316. , SchemaEntry("ifcwalltypeenum",NULL )
  317. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  318. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  319. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  320. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  321. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  322. , SchemaEntry("ifcworkcontroltypeenum",NULL )
  323. , SchemaEntry("ifcactorselect",NULL )
  324. , SchemaEntry("ifcappliedvalueselect",NULL )
  325. , SchemaEntry("ifcaxis2placement",NULL )
  326. , SchemaEntry("ifcbooleanoperand",NULL )
  327. , SchemaEntry("ifccharacterstyleselect",NULL )
  328. , SchemaEntry("ifcclassificationnotationselect",NULL )
  329. , SchemaEntry("ifccolour",NULL )
  330. , SchemaEntry("ifccolourorfactor",NULL )
  331. , SchemaEntry("ifcconditioncriterionselect",NULL )
  332. , SchemaEntry("ifccsgselect",NULL )
  333. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  334. , SchemaEntry("ifccurveoredgecurve",NULL )
  335. , SchemaEntry("ifccurvestylefontselect",NULL )
  336. , SchemaEntry("ifcdatetimeselect",NULL )
  337. , SchemaEntry("ifcdefinedsymbolselect",NULL )
  338. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  339. , SchemaEntry("ifcdocumentselect",NULL )
  340. , SchemaEntry("ifcdraughtingcalloutelement",NULL )
  341. , SchemaEntry("ifcfillareastyletileshapeselect",NULL )
  342. , SchemaEntry("ifcfillstyleselect",NULL )
  343. , SchemaEntry("ifcgeometricsetselect",NULL )
  344. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  345. , SchemaEntry("ifclayereditem",NULL )
  346. , SchemaEntry("ifclibraryselect",NULL )
  347. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  348. , SchemaEntry("ifcmaterialselect",NULL )
  349. , SchemaEntry("ifcmeasurevalue",NULL )
  350. , SchemaEntry("ifcmetricvalueselect",NULL )
  351. , SchemaEntry("ifcobjectreferenceselect",NULL )
  352. , SchemaEntry("ifcorientationselect",NULL )
  353. , SchemaEntry("ifcpointorvertexpoint",NULL )
  354. , SchemaEntry("ifcpresentationstyleselect",NULL )
  355. , SchemaEntry("ifcshell",NULL )
  356. , SchemaEntry("ifcsimplevalue",NULL )
  357. , SchemaEntry("ifcsizeselect",NULL )
  358. , SchemaEntry("ifcspecularhighlightselect",NULL )
  359. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  360. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  361. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  362. , SchemaEntry("ifcsymbolstyleselect",NULL )
  363. , SchemaEntry("ifctextfontselect",NULL )
  364. , SchemaEntry("ifctextstyleselect",NULL )
  365. , SchemaEntry("ifctrimmingselect",NULL )
  366. , SchemaEntry("ifcunit",NULL )
  367. , SchemaEntry("ifcvalue",NULL )
  368. , SchemaEntry("ifcvectorordirection",NULL )
  369. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  370. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  371. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  372. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  373. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  374. , SchemaEntry("ifc2dcompositecurve",&STEP::ObjectHelper<Ifc2DCompositeCurve,0>::Construct )
  375. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  376. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  377. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  378. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,0>::Construct )
  379. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,1>::Construct )
  380. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  381. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  382. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  383. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  384. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  385. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  386. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  387. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  388. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  389. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  390. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  391. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  392. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  393. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  394. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  395. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  396. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  397. , SchemaEntry("ifcdraughtingcallout",&STEP::ObjectHelper<IfcDraughtingCallout,1>::Construct )
  398. , SchemaEntry("ifcdimensioncurvedirectedcallout",&STEP::ObjectHelper<IfcDimensionCurveDirectedCallout,0>::Construct )
  399. , SchemaEntry("ifcangulardimension",&STEP::ObjectHelper<IfcAngularDimension,0>::Construct )
  400. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  401. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  402. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  403. , SchemaEntry("ifcannotationoccurrence",&STEP::ObjectHelper<IfcAnnotationOccurrence,0>::Construct )
  404. , SchemaEntry("ifcannotationcurveoccurrence",&STEP::ObjectHelper<IfcAnnotationCurveOccurrence,0>::Construct )
  405. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  406. , SchemaEntry("ifcannotationfillareaoccurrence",&STEP::ObjectHelper<IfcAnnotationFillAreaOccurrence,2>::Construct )
  407. , SchemaEntry("ifcannotationsurface",&STEP::ObjectHelper<IfcAnnotationSurface,2>::Construct )
  408. , SchemaEntry("ifcannotationsurfaceoccurrence",&STEP::ObjectHelper<IfcAnnotationSurfaceOccurrence,0>::Construct )
  409. , SchemaEntry("ifcannotationsymboloccurrence",&STEP::ObjectHelper<IfcAnnotationSymbolOccurrence,0>::Construct )
  410. , SchemaEntry("ifcannotationtextoccurrence",&STEP::ObjectHelper<IfcAnnotationTextOccurrence,0>::Construct )
  411. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  412. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  413. , SchemaEntry("ifcappliedvaluerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  414. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  415. , SchemaEntry("ifcapprovalactorrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  416. , SchemaEntry("ifcapprovalpropertyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  417. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  418. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  419. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  420. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  421. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  422. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  423. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  424. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  425. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,5>::Construct )
  426. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,4>::Construct )
  427. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  428. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  429. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  430. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  431. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  432. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  433. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  434. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,0>::Construct )
  435. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  436. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  437. , SchemaEntry("ifcbeziercurve",&STEP::ObjectHelper<IfcBezierCurve,0>::Construct )
  438. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  439. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  440. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  441. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  442. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  443. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  444. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  445. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  446. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  447. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  448. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  449. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  450. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  451. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  452. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  453. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  454. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  455. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,2>::Construct )
  456. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  457. , SchemaEntry("ifcbuildingelementcomponent",&STEP::ObjectHelper<IfcBuildingElementComponent,0>::Construct )
  458. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,0>::Construct )
  459. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  460. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  461. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  462. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,6>::Construct )
  463. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  464. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  465. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  466. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  467. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  468. , SchemaEntry("ifccalendardate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  469. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  470. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  471. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  472. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  473. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  474. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  475. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  476. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  477. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  478. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  479. , SchemaEntry("ifcedgefeature",&STEP::ObjectHelper<IfcEdgeFeature,1>::Construct )
  480. , SchemaEntry("ifcchamferedgefeature",&STEP::ObjectHelper<IfcChamferEdgeFeature,2>::Construct )
  481. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  482. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  483. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  484. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  485. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  486. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  487. , SchemaEntry("ifcclassificationitem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  488. , SchemaEntry("ifcclassificationitemrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  489. , SchemaEntry("ifcclassificationnotation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  490. , SchemaEntry("ifcclassificationnotationfacet",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  491. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  492. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  493. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  494. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  495. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  496. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  497. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  498. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  499. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,0>::Construct )
  500. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  501. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<IfcProperty,2>::Construct )
  502. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<IfcComplexProperty,2>::Construct )
  503. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  504. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<IfcCompositeProfileDef,2>::Construct )
  505. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  506. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  507. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  508. , SchemaEntry("ifccondition",&STEP::ObjectHelper<IfcCondition,0>::Construct )
  509. , SchemaEntry("ifcconditioncriterion",&STEP::ObjectHelper<IfcConditionCriterion,2>::Construct )
  510. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  511. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  512. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  513. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  514. , SchemaEntry("ifcconnectionportgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  515. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  516. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  517. , SchemaEntry("ifcconstraintaggregationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  518. , SchemaEntry("ifcconstraintclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  519. , SchemaEntry("ifcconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  520. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,0>::Construct )
  521. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,4>::Construct )
  522. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,0>::Construct )
  523. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,2>::Construct )
  524. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,0>::Construct )
  525. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  526. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<IfcContextDependentUnit,1>::Construct )
  527. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  528. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  529. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  530. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  531. , SchemaEntry("ifccoordinateduniversaltimeoffset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  532. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,0>::Construct )
  533. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,8>::Construct )
  534. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  535. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  536. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  537. , SchemaEntry("ifccranerailashapeprofiledef",&STEP::ObjectHelper<IfcCraneRailAShapeProfileDef,12>::Construct )
  538. , SchemaEntry("ifccranerailfshapeprofiledef",&STEP::ObjectHelper<IfcCraneRailFShapeProfileDef,9>::Construct )
  539. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,0>::Construct )
  540. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  541. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  542. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  543. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,0>::Construct )
  544. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  545. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  546. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  547. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  548. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  549. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  550. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  551. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  552. , SchemaEntry("ifcdateandtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  553. , SchemaEntry("ifcdefinedsymbol",&STEP::ObjectHelper<IfcDefinedSymbol,2>::Construct )
  554. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<IfcDerivedProfileDef,3>::Construct )
  555. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  556. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  557. , SchemaEntry("ifcdiameterdimension",&STEP::ObjectHelper<IfcDiameterDimension,0>::Construct )
  558. , SchemaEntry("ifcdraughtingcalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  559. , SchemaEntry("ifcdimensioncalloutrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  560. , SchemaEntry("ifcdimensioncurve",&STEP::ObjectHelper<IfcDimensionCurve,0>::Construct )
  561. , SchemaEntry("ifcterminatorsymbol",&STEP::ObjectHelper<IfcTerminatorSymbol,1>::Construct )
  562. , SchemaEntry("ifcdimensioncurveterminator",&STEP::ObjectHelper<IfcDimensionCurveTerminator,1>::Construct )
  563. , SchemaEntry("ifcdimensionpair",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  564. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  565. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  566. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  567. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,0>::Construct )
  568. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  569. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,0>::Construct )
  570. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  571. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  572. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,0>::Construct )
  573. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  574. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,1>::Construct )
  575. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  576. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,1>::Construct )
  577. , SchemaEntry("ifcdocumentelectronicformat",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  578. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  579. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  580. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  581. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,2>::Construct )
  582. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<IfcPropertyDefinition,0>::Construct )
  583. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<IfcPropertySetDefinition,0>::Construct )
  584. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  585. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  586. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  587. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  588. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  589. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  590. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  592. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  593. , SchemaEntry("ifcdraughtingpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  594. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  595. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  596. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  597. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  598. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  599. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  600. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  601. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  602. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  603. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  604. , SchemaEntry("ifcelectricdistributionpoint",&STEP::ObjectHelper<IfcElectricDistributionPoint,2>::Construct )
  605. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  606. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  607. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  608. , SchemaEntry("ifcelectricheatertype",&STEP::ObjectHelper<IfcElectricHeaterType,1>::Construct )
  609. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  610. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  611. , SchemaEntry("ifcenergyproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  612. , SchemaEntry("ifcelectricalbaseproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  613. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  614. , SchemaEntry("ifcelectricalcircuit",&STEP::ObjectHelper<IfcElectricalCircuit,0>::Construct )
  615. , SchemaEntry("ifcelectricalelement",&STEP::ObjectHelper<IfcElectricalElement,0>::Construct )
  616. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  617. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<IfcElementQuantity,2>::Construct )
  618. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  619. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  620. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  621. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  622. , SchemaEntry("ifcenvironmentalimpactvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  623. , SchemaEntry("ifcequipmentelement",&STEP::ObjectHelper<IfcEquipmentElement,0>::Construct )
  624. , SchemaEntry("ifcequipmentstandard",&STEP::ObjectHelper<IfcEquipmentStandard,0>::Construct )
  625. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  626. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  627. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  628. , SchemaEntry("ifcextendedmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  629. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  630. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  631. , SchemaEntry("ifcexternallydefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  632. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  633. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  634. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  635. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  636. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  637. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  638. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  639. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  640. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  641. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  642. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  643. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  644. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  645. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  646. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,0>::Construct )
  647. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,0>::Construct )
  648. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  649. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  650. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  651. , SchemaEntry("ifcfillareastyletilesymbolwithstyle",&STEP::ObjectHelper<IfcFillAreaStyleTileSymbolWithStyle,1>::Construct )
  652. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  653. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  654. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  655. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  656. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  657. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  658. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  659. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  660. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  661. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  662. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  663. , SchemaEntry("ifcfluidflowproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  664. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  665. , SchemaEntry("ifcfuelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  666. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  667. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  668. , SchemaEntry("ifcfurniturestandard",&STEP::ObjectHelper<IfcFurnitureStandard,0>::Construct )
  669. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,1>::Construct )
  670. , SchemaEntry("ifcgasterminaltype",&STEP::ObjectHelper<IfcGasTerminalType,1>::Construct )
  671. , SchemaEntry("ifcgeneralmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  672. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  673. , SchemaEntry("ifcgeneralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  674. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  675. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  676. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  677. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  678. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  679. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,3>::Construct )
  680. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  681. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  682. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  683. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  684. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  685. , SchemaEntry("ifchygroscopicmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  686. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  687. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  688. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  689. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  690. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  691. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  692. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,8>::Construct )
  693. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  694. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  695. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  696. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  697. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  698. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  699. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  700. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  701. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  702. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  703. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  704. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  705. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  706. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  707. , SchemaEntry("ifclineardimension",&STEP::ObjectHelper<IfcLinearDimension,0>::Construct )
  708. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  709. , SchemaEntry("ifclocaltime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  710. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  711. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  712. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  713. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  714. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  715. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  716. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  717. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  718. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  719. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  720. , SchemaEntry("ifcmechanicalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  721. , SchemaEntry("ifcmechanicalconcretematerialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  722. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,2>::Construct )
  723. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,0>::Construct )
  724. , SchemaEntry("ifcmechanicalsteelmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  725. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,0>::Construct )
  726. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  727. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  728. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  729. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  730. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,0>::Construct )
  731. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,5>::Construct )
  732. , SchemaEntry("ifcmove",&STEP::ObjectHelper<IfcMove,3>::Construct )
  733. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  734. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  735. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  736. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  737. , SchemaEntry("ifconedirectionrepeatfactor",&STEP::ObjectHelper<IfcOneDirectionRepeatFactor,1>::Construct )
  738. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  739. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,0>::Construct )
  740. , SchemaEntry("ifcopticalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  741. , SchemaEntry("ifcorderaction",&STEP::ObjectHelper<IfcOrderAction,1>::Construct )
  742. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  743. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  744. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  745. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  746. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  747. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  748. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,1>::Construct )
  749. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  750. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,1>::Construct )
  751. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  752. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  753. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  754. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  755. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  756. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  757. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  758. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  759. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  760. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  761. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  762. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  763. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,0>::Construct )
  764. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  765. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  766. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  767. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  768. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  769. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  770. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  771. , SchemaEntry("ifcpredefinedsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  772. , SchemaEntry("ifcpredefineddimensionsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  773. , SchemaEntry("ifcpredefinedpointmarkersymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  774. , SchemaEntry("ifcpredefinedterminatorsymbol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  775. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  776. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  777. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  778. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,3>::Construct )
  779. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  780. , SchemaEntry("ifcproductsofcombustionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  781. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,4>::Construct )
  782. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  783. , SchemaEntry("ifcprojectorderrecord",&STEP::ObjectHelper<IfcProjectOrderRecord,2>::Construct )
  784. , SchemaEntry("ifcprojectioncurve",&STEP::ObjectHelper<IfcProjectionCurve,0>::Construct )
  785. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,0>::Construct )
  786. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<IfcSimpleProperty,0>::Construct )
  787. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<IfcPropertyBoundedValue,3>::Construct )
  788. , SchemaEntry("ifcpropertyconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  789. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  790. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<IfcPropertyEnumeratedValue,2>::Construct )
  791. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  792. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<IfcPropertyListValue,2>::Construct )
  793. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<IfcPropertyReferenceValue,2>::Construct )
  794. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<IfcPropertySet,1>::Construct )
  795. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<IfcPropertySingleValue,2>::Construct )
  796. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<IfcPropertyTableValue,5>::Construct )
  797. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  798. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  799. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  800. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  801. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  802. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  803. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  804. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  805. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  806. , SchemaEntry("ifcradiusdimension",&STEP::ObjectHelper<IfcRadiusDimension,0>::Construct )
  807. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  808. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  809. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  810. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,0>::Construct )
  811. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  812. , SchemaEntry("ifcrationalbeziercurve",&STEP::ObjectHelper<IfcRationalBezierCurve,1>::Construct )
  813. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  814. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  815. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  816. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  817. , SchemaEntry("ifcreferencesvaluedocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  818. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  819. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  820. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  821. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  822. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  823. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,8>::Construct )
  824. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  825. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,2>::Construct )
  826. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,0>::Construct )
  827. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  828. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  829. , SchemaEntry("ifcrelassignstasks",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  830. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  831. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  832. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  833. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  834. , SchemaEntry("ifcrelassignstoprojectorder",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  835. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  836. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  837. , SchemaEntry("ifcrelassociatesappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  838. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  839. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  840. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  841. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  842. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  843. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  844. , SchemaEntry("ifcrelassociatesprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  845. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  846. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  847. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  848. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  849. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  850. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  851. , SchemaEntry("ifcrelconnectsstructuralelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  852. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  853. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  854. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  856. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  857. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  858. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<IfcRelDefines,1>::Construct )
  859. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<IfcRelDefinesByProperties,1>::Construct )
  860. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  861. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<IfcRelFillsElement,2>::Construct )
  862. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  863. , SchemaEntry("ifcrelinteractionrequirements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  864. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  865. , SchemaEntry("ifcreloccupiesspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  866. , SchemaEntry("ifcreloverridesproperties",&STEP::ObjectHelper<IfcRelOverridesProperties,1>::Construct )
  867. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  868. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  869. , SchemaEntry("ifcrelschedulescostitems",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  870. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  871. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  872. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  873. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<IfcRelVoidsElement,2>::Construct )
  874. , SchemaEntry("ifcrelaxation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  875. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  876. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  877. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  878. , SchemaEntry("ifcribplateprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  879. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  880. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  881. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  882. , SchemaEntry("ifcroundededgefeature",&STEP::ObjectHelper<IfcRoundedEdgeFeature,1>::Construct )
  883. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  884. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  885. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  886. , SchemaEntry("ifcscheduletimecontrol",&STEP::ObjectHelper<IfcScheduleTimeControl,18>::Construct )
  887. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  888. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  889. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  890. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  891. , SchemaEntry("ifcservicelife",&STEP::ObjectHelper<IfcServiceLife,2>::Construct )
  892. , SchemaEntry("ifcservicelifefactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  893. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  894. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  895. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  896. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  897. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  898. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  899. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  900. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  901. , SchemaEntry("ifcsoundproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  902. , SchemaEntry("ifcsoundvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  903. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  904. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  905. , SchemaEntry("ifcspaceprogram",&STEP::ObjectHelper<IfcSpaceProgram,5>::Construct )
  906. , SchemaEntry("ifcspacethermalloadproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  907. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  908. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,1>::Construct )
  909. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  910. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  911. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  912. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,4>::Construct )
  913. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  914. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  915. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,2>::Construct )
  916. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,4>::Construct )
  917. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  918. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  919. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,0>::Construct )
  920. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  921. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,1>::Construct )
  922. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  923. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,1>::Construct )
  924. , SchemaEntry("ifcstructurallinearactionvarying",&STEP::ObjectHelper<IfcStructuralLinearActionVarying,2>::Construct )
  925. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  926. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  927. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  928. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  929. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  930. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  931. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  932. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  933. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  934. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  935. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,1>::Construct )
  936. , SchemaEntry("ifcstructuralplanaractionvarying",&STEP::ObjectHelper<IfcStructuralPlanarActionVarying,2>::Construct )
  937. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  938. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,0>::Construct )
  939. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  940. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  941. , SchemaEntry("ifcstructuralprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  942. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  943. , SchemaEntry("ifcstructuralsteelprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  944. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  945. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  946. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,2>::Construct )
  947. , SchemaEntry("ifcstructureddimensioncallout",&STEP::ObjectHelper<IfcStructuredDimensionCallout,0>::Construct )
  948. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  949. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  950. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,2>::Construct )
  951. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  952. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  953. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  954. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  955. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  956. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  957. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  959. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,1>::Construct )
  960. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,8>::Construct )
  961. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  962. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  963. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  964. , SchemaEntry("ifcsymbolstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  965. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,0>::Construct )
  966. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,10>::Construct )
  967. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  968. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  969. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  970. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  971. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  972. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,0>::Construct )
  973. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  974. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  975. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  976. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  977. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  978. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  979. , SchemaEntry("ifctextstylewithboxcharacteristics",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  980. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  981. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  982. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  983. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  984. , SchemaEntry("ifcthermalmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  985. , SchemaEntry("ifctimeseriesreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  986. , SchemaEntry("ifctimeseriesschedule",&STEP::ObjectHelper<IfcTimeSeriesSchedule,3>::Construct )
  987. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  989. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  990. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,3>::Construct )
  991. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  992. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  993. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  994. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  995. , SchemaEntry("ifctwodirectionrepeatfactor",&STEP::ObjectHelper<IfcTwoDirectionRepeatFactor,1>::Construct )
  996. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,8>::Construct )
  997. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  998. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  999. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  1000. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  1001. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  1002. , SchemaEntry("ifcvertexbasedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1003. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  1004. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  1005. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  1006. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  1007. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1008. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,0>::Construct )
  1009. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  1010. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  1011. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  1012. , SchemaEntry("ifcwaterproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1013. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,2>::Construct )
  1014. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1015. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1016. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  1017. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,10>::Construct )
  1018. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,0>::Construct )
  1019. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,0>::Construct )
  1020. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  1021. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,0>::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<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1037. {
  1038. size_t base = 0;
  1039. return base;
  1040. }
  1041. // -----------------------------------------------------------------------------------------------------------
  1042. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1043. {
  1044. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1045. return base;
  1046. }
  1047. // -----------------------------------------------------------------------------------------------------------
  1048. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1049. {
  1050. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1051. return base;
  1052. }
  1053. // -----------------------------------------------------------------------------------------------------------
  1054. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  1055. {
  1056. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1057. return base;
  1058. }
  1059. // -----------------------------------------------------------------------------------------------------------
  1060. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  1061. {
  1062. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1063. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCompositeCurve"); } do { // convert the 'Segments' argument
  1064. boost::shared_ptr<const DataType> arg = params[base++];
  1065. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[0]=true; break; }
  1066. try { GenericConvert( in->Segments, arg, db ); break; }
  1067. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurve to be a `LIST [1:?] OF IfcCompositeCurveSegment`")); }
  1068. } while(0);
  1069. do { // convert the 'SelfIntersect' argument
  1070. boost::shared_ptr<const DataType> arg = params[base++];
  1071. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[1]=true; break; }
  1072. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1073. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurve to be a `LOGICAL`")); }
  1074. } while(0);
  1075. return base;
  1076. }
  1077. // -----------------------------------------------------------------------------------------------------------
  1078. template <> size_t GenericFill<Ifc2DCompositeCurve>(const DB& db, const LIST& params, Ifc2DCompositeCurve* in)
  1079. {
  1080. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  1081. // this data structure is not used yet, so there is no code generated to fill its members
  1082. return base;
  1083. }
  1084. // -----------------------------------------------------------------------------------------------------------
  1085. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1086. {
  1087. size_t base = 0;
  1088. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1089. boost::shared_ptr<const DataType> arg = params[base++];
  1090. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1091. try { GenericConvert( in->GlobalId, arg, db ); break; }
  1092. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1093. } while(0);
  1094. do { // convert the 'OwnerHistory' argument
  1095. boost::shared_ptr<const DataType> arg = params[base++];
  1096. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1097. try { GenericConvert( in->OwnerHistory, arg, db ); break; }
  1098. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1099. } while(0);
  1100. do { // convert the 'Name' argument
  1101. boost::shared_ptr<const DataType> arg = params[base++];
  1102. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1103. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1104. try { GenericConvert( in->Name, arg, db ); break; }
  1105. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1106. } while(0);
  1107. do { // convert the 'Description' argument
  1108. boost::shared_ptr<const DataType> arg = params[base++];
  1109. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1110. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1111. try { GenericConvert( in->Description, arg, db ); break; }
  1112. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1113. } while(0);
  1114. return base;
  1115. }
  1116. // -----------------------------------------------------------------------------------------------------------
  1117. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1118. {
  1119. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1120. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1121. }
  1122. // -----------------------------------------------------------------------------------------------------------
  1123. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1124. {
  1125. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1126. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1127. boost::shared_ptr<const DataType> arg = params[base++];
  1128. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1129. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1130. try { GenericConvert( in->ObjectType, arg, db ); break; }
  1131. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1132. } while(0);
  1133. return base;
  1134. }
  1135. // -----------------------------------------------------------------------------------------------------------
  1136. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1137. {
  1138. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1139. // this data structure is not used yet, so there is no code generated to fill its members
  1140. return base;
  1141. }
  1142. // -----------------------------------------------------------------------------------------------------------
  1143. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1144. {
  1145. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1146. // this data structure is not used yet, so there is no code generated to fill its members
  1147. return base;
  1148. }
  1149. // -----------------------------------------------------------------------------------------------------------
  1150. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  1151. {
  1152. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1153. // this data structure is not used yet, so there is no code generated to fill its members
  1154. return base;
  1155. }
  1156. // -----------------------------------------------------------------------------------------------------------
  1157. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1158. {
  1159. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1160. // this data structure is not used yet, so there is no code generated to fill its members
  1161. return base;
  1162. }
  1163. // -----------------------------------------------------------------------------------------------------------
  1164. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1165. {
  1166. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1167. // this data structure is not used yet, so there is no code generated to fill its members
  1168. return base;
  1169. }
  1170. // -----------------------------------------------------------------------------------------------------------
  1171. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1172. {
  1173. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1174. // this data structure is not used yet, so there is no code generated to fill its members
  1175. return base;
  1176. }
  1177. // -----------------------------------------------------------------------------------------------------------
  1178. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1179. {
  1180. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1181. // this data structure is not used yet, so there is no code generated to fill its members
  1182. return base;
  1183. }
  1184. // -----------------------------------------------------------------------------------------------------------
  1185. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1186. {
  1187. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1188. // this data structure is not used yet, so there is no code generated to fill its members
  1189. return base;
  1190. }
  1191. // -----------------------------------------------------------------------------------------------------------
  1192. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  1193. {
  1194. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1195. // this data structure is not used yet, so there is no code generated to fill its members
  1196. return base;
  1197. }
  1198. // -----------------------------------------------------------------------------------------------------------
  1199. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1200. {
  1201. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1202. // this data structure is not used yet, so there is no code generated to fill its members
  1203. return base;
  1204. }
  1205. // -----------------------------------------------------------------------------------------------------------
  1206. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1207. {
  1208. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1209. // this data structure is not used yet, so there is no code generated to fill its members
  1210. return base;
  1211. }
  1212. // -----------------------------------------------------------------------------------------------------------
  1213. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  1214. {
  1215. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1216. // this data structure is not used yet, so there is no code generated to fill its members
  1217. return base;
  1218. }
  1219. // -----------------------------------------------------------------------------------------------------------
  1220. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1221. {
  1222. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1223. // this data structure is not used yet, so there is no code generated to fill its members
  1224. return base;
  1225. }
  1226. // -----------------------------------------------------------------------------------------------------------
  1227. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  1228. {
  1229. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  1230. // this data structure is not used yet, so there is no code generated to fill its members
  1231. return base;
  1232. }
  1233. // -----------------------------------------------------------------------------------------------------------
  1234. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1235. {
  1236. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1237. // this data structure is not used yet, so there is no code generated to fill its members
  1238. return base;
  1239. }
  1240. // -----------------------------------------------------------------------------------------------------------
  1241. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1242. {
  1243. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1244. // this data structure is not used yet, so there is no code generated to fill its members
  1245. return base;
  1246. }
  1247. // -----------------------------------------------------------------------------------------------------------
  1248. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  1249. {
  1250. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1251. // this data structure is not used yet, so there is no code generated to fill its members
  1252. return base;
  1253. }
  1254. // -----------------------------------------------------------------------------------------------------------
  1255. template <> size_t GenericFill<IfcDraughtingCallout>(const DB& db, const LIST& params, IfcDraughtingCallout* in)
  1256. {
  1257. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1258. // this data structure is not used yet, so there is no code generated to fill its members
  1259. return base;
  1260. }
  1261. // -----------------------------------------------------------------------------------------------------------
  1262. template <> size_t GenericFill<IfcDimensionCurveDirectedCallout>(const DB& db, const LIST& params, IfcDimensionCurveDirectedCallout* in)
  1263. {
  1264. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  1265. // this data structure is not used yet, so there is no code generated to fill its members
  1266. return base;
  1267. }
  1268. // -----------------------------------------------------------------------------------------------------------
  1269. template <> size_t GenericFill<IfcAngularDimension>(const DB& db, const LIST& params, IfcAngularDimension* in)
  1270. {
  1271. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  1272. // this data structure is not used yet, so there is no code generated to fill its members
  1273. return base;
  1274. }
  1275. // -----------------------------------------------------------------------------------------------------------
  1276. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1277. {
  1278. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1279. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1280. boost::shared_ptr<const DataType> arg = params[base++];
  1281. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1282. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1283. try { GenericConvert( in->ObjectPlacement, arg, db ); break; }
  1284. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1285. } while(0);
  1286. do { // convert the 'Representation' argument
  1287. boost::shared_ptr<const DataType> arg = params[base++];
  1288. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1289. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1290. try { GenericConvert( in->Representation, arg, db ); break; }
  1291. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1292. } while(0);
  1293. return base;
  1294. }
  1295. // -----------------------------------------------------------------------------------------------------------
  1296. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1297. {
  1298. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1299. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcAnnotation"); } return base;
  1300. }
  1301. // -----------------------------------------------------------------------------------------------------------
  1302. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  1303. {
  1304. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1305. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  1306. boost::shared_ptr<const DataType> arg = params[base++];
  1307. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[0]=true; break; }
  1308. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1309. try { GenericConvert( in->Item, arg, db ); break; }
  1310. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  1311. } while(0);
  1312. do { // convert the 'Styles' argument
  1313. boost::shared_ptr<const DataType> arg = params[base++];
  1314. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[1]=true; break; }
  1315. try { GenericConvert( in->Styles, arg, db ); break; }
  1316. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcPresentationStyleAssignment`")); }
  1317. } while(0);
  1318. do { // convert the 'Name' argument
  1319. boost::shared_ptr<const DataType> arg = params[base++];
  1320. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcStyledItem,3>::aux_is_derived[2]=true; break; }
  1321. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1322. try { GenericConvert( in->Name, arg, db ); break; }
  1323. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  1324. } while(0);
  1325. return base;
  1326. }
  1327. // -----------------------------------------------------------------------------------------------------------
  1328. template <> size_t GenericFill<IfcAnnotationOccurrence>(const DB& db, const LIST& params, IfcAnnotationOccurrence* in)
  1329. {
  1330. size_t base = GenericFill(db,params,static_cast<IfcStyledItem*>(in));
  1331. // this data structure is not used yet, so there is no code generated to fill its members
  1332. return base;
  1333. }
  1334. // -----------------------------------------------------------------------------------------------------------
  1335. template <> size_t GenericFill<IfcAnnotationCurveOccurrence>(const DB& db, const LIST& params, IfcAnnotationCurveOccurrence* in)
  1336. {
  1337. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1338. // this data structure is not used yet, so there is no code generated to fill its members
  1339. return base;
  1340. }
  1341. // -----------------------------------------------------------------------------------------------------------
  1342. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  1343. {
  1344. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1345. // this data structure is not used yet, so there is no code generated to fill its members
  1346. return base;
  1347. }
  1348. // -----------------------------------------------------------------------------------------------------------
  1349. template <> size_t GenericFill<IfcAnnotationFillAreaOccurrence>(const DB& db, const LIST& params, IfcAnnotationFillAreaOccurrence* in)
  1350. {
  1351. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1352. // this data structure is not used yet, so there is no code generated to fill its members
  1353. return base;
  1354. }
  1355. // -----------------------------------------------------------------------------------------------------------
  1356. template <> size_t GenericFill<IfcAnnotationSurface>(const DB& db, const LIST& params, IfcAnnotationSurface* in)
  1357. {
  1358. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1359. // this data structure is not used yet, so there is no code generated to fill its members
  1360. return base;
  1361. }
  1362. // -----------------------------------------------------------------------------------------------------------
  1363. template <> size_t GenericFill<IfcAnnotationSurfaceOccurrence>(const DB& db, const LIST& params, IfcAnnotationSurfaceOccurrence* in)
  1364. {
  1365. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1366. // this data structure is not used yet, so there is no code generated to fill its members
  1367. return base;
  1368. }
  1369. // -----------------------------------------------------------------------------------------------------------
  1370. template <> size_t GenericFill<IfcAnnotationSymbolOccurrence>(const DB& db, const LIST& params, IfcAnnotationSymbolOccurrence* in)
  1371. {
  1372. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1373. // this data structure is not used yet, so there is no code generated to fill its members
  1374. return base;
  1375. }
  1376. // -----------------------------------------------------------------------------------------------------------
  1377. template <> size_t GenericFill<IfcAnnotationTextOccurrence>(const DB& db, const LIST& params, IfcAnnotationTextOccurrence* in)
  1378. {
  1379. size_t base = GenericFill(db,params,static_cast<IfcAnnotationOccurrence*>(in));
  1380. // this data structure is not used yet, so there is no code generated to fill its members
  1381. return base;
  1382. }
  1383. // -----------------------------------------------------------------------------------------------------------
  1384. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1385. {
  1386. size_t base = 0;
  1387. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1388. boost::shared_ptr<const DataType> arg = params[base++];
  1389. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1390. try { GenericConvert( in->ProfileType, arg, db ); break; }
  1391. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1392. } while(0);
  1393. do { // convert the 'ProfileName' argument
  1394. boost::shared_ptr<const DataType> arg = params[base++];
  1395. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1396. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1397. try { GenericConvert( in->ProfileName, arg, db ); break; }
  1398. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1399. } while(0);
  1400. return base;
  1401. }
  1402. // -----------------------------------------------------------------------------------------------------------
  1403. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1404. {
  1405. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1406. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1407. boost::shared_ptr<const DataType> arg = params[base++];
  1408. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1409. try { GenericConvert( in->OuterCurve, arg, db ); break; }
  1410. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1411. } while(0);
  1412. return base;
  1413. }
  1414. // -----------------------------------------------------------------------------------------------------------
  1415. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  1416. {
  1417. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1418. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  1419. boost::shared_ptr<const DataType> arg = params[base++];
  1420. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  1421. try { GenericConvert( in->Curve, arg, db ); break; }
  1422. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  1423. } while(0);
  1424. return base;
  1425. }
  1426. // -----------------------------------------------------------------------------------------------------------
  1427. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1428. {
  1429. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1430. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcArbitraryProfileDefWithVoids"); } do { // convert the 'InnerCurves' argument
  1431. boost::shared_ptr<const DataType> arg = params[base++];
  1432. try { GenericConvert( in->InnerCurves, arg, db ); break; }
  1433. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcArbitraryProfileDefWithVoids to be a `SET [1:?] OF IfcCurve`")); }
  1434. } while(0);
  1435. return base;
  1436. }
  1437. // -----------------------------------------------------------------------------------------------------------
  1438. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1439. {
  1440. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1441. // this data structure is not used yet, so there is no code generated to fill its members
  1442. return base;
  1443. }
  1444. // -----------------------------------------------------------------------------------------------------------
  1445. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  1446. {
  1447. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1448. // this data structure is not used yet, so there is no code generated to fill its members
  1449. return base;
  1450. }
  1451. // -----------------------------------------------------------------------------------------------------------
  1452. template <> size_t GenericFill<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  1453. {
  1454. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1455. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  1456. boost::shared_ptr<const DataType> arg = params[base++];
  1457. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  1458. try { GenericConvert( in->Position, arg, db ); break; }
  1459. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  1460. } while(0);
  1461. return base;
  1462. }
  1463. // -----------------------------------------------------------------------------------------------------------
  1464. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  1465. {
  1466. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  1467. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcIShapeProfileDef"); } do { // convert the 'OverallWidth' argument
  1468. boost::shared_ptr<const DataType> arg = params[base++];
  1469. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcIShapeProfileDef,5>::aux_is_derived[0]=true; break; }
  1470. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  1471. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  1472. } while(0);
  1473. do { // convert the 'OverallDepth' argument
  1474. boost::shared_ptr<const DataType> arg = params[base++];
  1475. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcIShapeProfileDef,5>::aux_is_derived[1]=true; break; }
  1476. try { GenericConvert( in->OverallDepth, arg, db ); break; }
  1477. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  1478. } while(0);
  1479. do { // convert the 'WebThickness' argument
  1480. boost::shared_ptr<const DataType> arg = params[base++];
  1481. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcIShapeProfileDef,5>::aux_is_derived[2]=true; break; }
  1482. try { GenericConvert( in->WebThickness, arg, db ); break; }
  1483. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  1484. } while(0);
  1485. do { // convert the 'FlangeThickness' argument
  1486. boost::shared_ptr<const DataType> arg = params[base++];
  1487. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcIShapeProfileDef,5>::aux_is_derived[3]=true; break; }
  1488. try { GenericConvert( in->FlangeThickness, arg, db ); break; }
  1489. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  1490. } while(0);
  1491. do { // convert the 'FilletRadius' argument
  1492. boost::shared_ptr<const DataType> arg = params[base++];
  1493. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcIShapeProfileDef,5>::aux_is_derived[4]=true; break; }
  1494. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1495. try { GenericConvert( in->FilletRadius, arg, db ); break; }
  1496. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  1497. } while(0);
  1498. return base;
  1499. }
  1500. // -----------------------------------------------------------------------------------------------------------
  1501. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  1502. {
  1503. size_t base = GenericFill(db,params,static_cast<IfcIShapeProfileDef*>(in));
  1504. // this data structure is not used yet, so there is no code generated to fill its members
  1505. return base;
  1506. }
  1507. // -----------------------------------------------------------------------------------------------------------
  1508. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1509. {
  1510. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1511. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1512. boost::shared_ptr<const DataType> arg = params[base++];
  1513. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1514. try { GenericConvert( in->Location, arg, db ); break; }
  1515. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1516. } while(0);
  1517. return base;
  1518. }
  1519. // -----------------------------------------------------------------------------------------------------------
  1520. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  1521. {
  1522. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1523. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  1524. boost::shared_ptr<const DataType> arg = params[base++];
  1525. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1526. try { GenericConvert( in->Axis, arg, db ); break; }
  1527. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  1528. } while(0);
  1529. return base;
  1530. }
  1531. // -----------------------------------------------------------------------------------------------------------
  1532. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  1533. {
  1534. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1535. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  1536. boost::shared_ptr<const DataType> arg = params[base++];
  1537. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1538. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1539. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  1540. } while(0);
  1541. return base;
  1542. }
  1543. // -----------------------------------------------------------------------------------------------------------
  1544. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  1545. {
  1546. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1547. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  1548. boost::shared_ptr<const DataType> arg = params[base++];
  1549. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1550. try { GenericConvert( in->Axis, arg, db ); break; }
  1551. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1552. } while(0);
  1553. do { // convert the 'RefDirection' argument
  1554. boost::shared_ptr<const DataType> arg = params[base++];
  1555. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1556. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1557. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1558. } while(0);
  1559. return base;
  1560. }
  1561. // -----------------------------------------------------------------------------------------------------------
  1562. template <> size_t GenericFill<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  1563. {
  1564. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1565. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcBSplineCurve"); } do { // convert the 'Degree' argument
  1566. boost::shared_ptr<const DataType> arg = params[base++];
  1567. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[0]=true; break; }
  1568. try { GenericConvert( in->Degree, arg, db ); break; }
  1569. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBSplineCurve to be a `INTEGER`")); }
  1570. } while(0);
  1571. do { // convert the 'ControlPointsList' argument
  1572. boost::shared_ptr<const DataType> arg = params[base++];
  1573. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[1]=true; break; }
  1574. try { GenericConvert( in->ControlPointsList, arg, db ); break; }
  1575. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBSplineCurve to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  1576. } while(0);
  1577. do { // convert the 'CurveForm' argument
  1578. boost::shared_ptr<const DataType> arg = params[base++];
  1579. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[2]=true; break; }
  1580. try { GenericConvert( in->CurveForm, arg, db ); break; }
  1581. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBSplineCurve to be a `IfcBSplineCurveForm`")); }
  1582. } while(0);
  1583. do { // convert the 'ClosedCurve' argument
  1584. boost::shared_ptr<const DataType> arg = params[base++];
  1585. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[3]=true; break; }
  1586. try { GenericConvert( in->ClosedCurve, arg, db ); break; }
  1587. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBSplineCurve to be a `LOGICAL`")); }
  1588. } while(0);
  1589. do { // convert the 'SelfIntersect' argument
  1590. boost::shared_ptr<const DataType> arg = params[base++];
  1591. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[4]=true; break; }
  1592. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1593. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcBSplineCurve to be a `LOGICAL`")); }
  1594. } while(0);
  1595. return base;
  1596. }
  1597. // -----------------------------------------------------------------------------------------------------------
  1598. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1599. {
  1600. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1601. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1602. boost::shared_ptr<const DataType> arg = params[base++];
  1603. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1604. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1605. try { GenericConvert( in->Tag, arg, db ); break; }
  1606. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1607. } while(0);
  1608. return base;
  1609. }
  1610. // -----------------------------------------------------------------------------------------------------------
  1611. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1612. {
  1613. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1614. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1615. }
  1616. // -----------------------------------------------------------------------------------------------------------
  1617. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  1618. {
  1619. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1620. // this data structure is not used yet, so there is no code generated to fill its members
  1621. return base;
  1622. }
  1623. // -----------------------------------------------------------------------------------------------------------
  1624. template <> size_t GenericFill<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  1625. {
  1626. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1627. // this data structure is not used yet, so there is no code generated to fill its members
  1628. return base;
  1629. }
  1630. // -----------------------------------------------------------------------------------------------------------
  1631. template <> size_t GenericFill<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  1632. {
  1633. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  1634. // this data structure is not used yet, so there is no code generated to fill its members
  1635. return base;
  1636. }
  1637. // -----------------------------------------------------------------------------------------------------------
  1638. template <> size_t GenericFill<IfcBezierCurve>(const DB& db, const LIST& params, IfcBezierCurve* in)
  1639. {
  1640. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(in));
  1641. // this data structure is not used yet, so there is no code generated to fill its members
  1642. return base;
  1643. }
  1644. // -----------------------------------------------------------------------------------------------------------
  1645. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1646. {
  1647. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1648. // this data structure is not used yet, so there is no code generated to fill its members
  1649. return base;
  1650. }
  1651. // -----------------------------------------------------------------------------------------------------------
  1652. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  1653. {
  1654. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1655. // this data structure is not used yet, so there is no code generated to fill its members
  1656. return base;
  1657. }
  1658. // -----------------------------------------------------------------------------------------------------------
  1659. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  1660. {
  1661. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1662. // this data structure is not used yet, so there is no code generated to fill its members
  1663. return base;
  1664. }
  1665. // -----------------------------------------------------------------------------------------------------------
  1666. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1667. {
  1668. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1669. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1670. boost::shared_ptr<const DataType> arg = params[base++];
  1671. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1672. try { GenericConvert( in->Operator, arg, db ); break; }
  1673. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1674. } while(0);
  1675. do { // convert the 'FirstOperand' argument
  1676. boost::shared_ptr<const DataType> arg = params[base++];
  1677. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1678. try { GenericConvert( in->FirstOperand, arg, db ); break; }
  1679. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1680. } while(0);
  1681. do { // convert the 'SecondOperand' argument
  1682. boost::shared_ptr<const DataType> arg = params[base++];
  1683. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1684. try { GenericConvert( in->SecondOperand, arg, db ); break; }
  1685. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1686. } while(0);
  1687. return base;
  1688. }
  1689. // -----------------------------------------------------------------------------------------------------------
  1690. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  1691. {
  1692. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  1693. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  1694. }
  1695. // -----------------------------------------------------------------------------------------------------------
  1696. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1697. {
  1698. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1699. return base;
  1700. }
  1701. // -----------------------------------------------------------------------------------------------------------
  1702. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1703. {
  1704. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1705. // this data structure is not used yet, so there is no code generated to fill its members
  1706. return base;
  1707. }
  1708. // -----------------------------------------------------------------------------------------------------------
  1709. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  1710. {
  1711. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1712. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcBoundingBox"); } do { // convert the 'Corner' argument
  1713. boost::shared_ptr<const DataType> arg = params[base++];
  1714. try { GenericConvert( in->Corner, arg, db ); break; }
  1715. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBoundingBox to be a `IfcCartesianPoint`")); }
  1716. } while(0);
  1717. do { // convert the 'XDim' argument
  1718. boost::shared_ptr<const DataType> arg = params[base++];
  1719. try { GenericConvert( in->XDim, arg, db ); break; }
  1720. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1721. } while(0);
  1722. do { // convert the 'YDim' argument
  1723. boost::shared_ptr<const DataType> arg = params[base++];
  1724. try { GenericConvert( in->YDim, arg, db ); break; }
  1725. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1726. } while(0);
  1727. do { // convert the 'ZDim' argument
  1728. boost::shared_ptr<const DataType> arg = params[base++];
  1729. try { GenericConvert( in->ZDim, arg, db ); break; }
  1730. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1731. } while(0);
  1732. return base;
  1733. }
  1734. // -----------------------------------------------------------------------------------------------------------
  1735. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1736. {
  1737. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1738. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1739. boost::shared_ptr<const DataType> arg = params[base++];
  1740. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  1741. try { GenericConvert( in->BaseSurface, arg, db ); break; }
  1742. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  1743. } while(0);
  1744. do { // convert the 'AgreementFlag' argument
  1745. boost::shared_ptr<const DataType> arg = params[base++];
  1746. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  1747. try { GenericConvert( in->AgreementFlag, arg, db ); break; }
  1748. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `BOOLEAN`")); }
  1749. } while(0);
  1750. return base;
  1751. }
  1752. // -----------------------------------------------------------------------------------------------------------
  1753. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  1754. {
  1755. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  1756. // this data structure is not used yet, so there is no code generated to fill its members
  1757. return base;
  1758. }
  1759. // -----------------------------------------------------------------------------------------------------------
  1760. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  1761. {
  1762. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1763. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'LongName' argument
  1764. boost::shared_ptr<const DataType> arg = params[base++];
  1765. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[0]=true; break; }
  1766. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1767. try { GenericConvert( in->LongName, arg, db ); break; }
  1768. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialStructureElement to be a `IfcLabel`")); }
  1769. } while(0);
  1770. do { // convert the 'CompositionType' argument
  1771. boost::shared_ptr<const DataType> arg = params[base++];
  1772. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,2>::aux_is_derived[1]=true; break; }
  1773. try { GenericConvert( in->CompositionType, arg, db ); break; }
  1774. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  1775. } while(0);
  1776. return base;
  1777. }
  1778. // -----------------------------------------------------------------------------------------------------------
  1779. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  1780. {
  1781. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  1782. if (params.GetSize() < 12) { throw STEP::TypeError("expected 12 arguments to IfcBuilding"); } do { // convert the 'ElevationOfRefHeight' argument
  1783. boost::shared_ptr<const DataType> arg = params[base++];
  1784. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1785. try { GenericConvert( in->ElevationOfRefHeight, arg, db ); break; }
  1786. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcBuilding to be a `IfcLengthMeasure`")); }
  1787. } while(0);
  1788. do { // convert the 'ElevationOfTerrain' argument
  1789. boost::shared_ptr<const DataType> arg = params[base++];
  1790. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1791. try { GenericConvert( in->ElevationOfTerrain, arg, db ); break; }
  1792. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcBuilding to be a `IfcLengthMeasure`")); }
  1793. } while(0);
  1794. do { // convert the 'BuildingAddress' argument
  1795. boost::shared_ptr<const DataType> arg = params[base++];
  1796. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1797. try { GenericConvert( in->BuildingAddress, arg, db ); break; }
  1798. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcBuilding to be a `IfcPostalAddress`")); }
  1799. } while(0);
  1800. return base;
  1801. }
  1802. // -----------------------------------------------------------------------------------------------------------
  1803. template <> size_t GenericFill<IfcBuildingElementComponent>(const DB& db, const LIST& params, IfcBuildingElementComponent* in)
  1804. {
  1805. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1806. // this data structure is not used yet, so there is no code generated to fill its members
  1807. return base;
  1808. }
  1809. // -----------------------------------------------------------------------------------------------------------
  1810. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  1811. {
  1812. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  1813. // this data structure is not used yet, so there is no code generated to fill its members
  1814. return base;
  1815. }
  1816. // -----------------------------------------------------------------------------------------------------------
  1817. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  1818. {
  1819. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  1820. // this data structure is not used yet, so there is no code generated to fill its members
  1821. return base;
  1822. }
  1823. // -----------------------------------------------------------------------------------------------------------
  1824. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  1825. {
  1826. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  1827. // this data structure is not used yet, so there is no code generated to fill its members
  1828. return base;
  1829. }
  1830. // -----------------------------------------------------------------------------------------------------------
  1831. template <> size_t GenericFill<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  1832. {
  1833. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  1834. // this data structure is not used yet, so there is no code generated to fill its members
  1835. return base;
  1836. }
  1837. // -----------------------------------------------------------------------------------------------------------
  1838. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  1839. {
  1840. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  1841. // this data structure is not used yet, so there is no code generated to fill its members
  1842. return base;
  1843. }
  1844. // -----------------------------------------------------------------------------------------------------------
  1845. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  1846. {
  1847. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1848. // this data structure is not used yet, so there is no code generated to fill its members
  1849. return base;
  1850. }
  1851. // -----------------------------------------------------------------------------------------------------------
  1852. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  1853. {
  1854. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  1855. // this data structure is not used yet, so there is no code generated to fill its members
  1856. return base;
  1857. }
  1858. // -----------------------------------------------------------------------------------------------------------
  1859. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  1860. {
  1861. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1862. // this data structure is not used yet, so there is no code generated to fill its members
  1863. return base;
  1864. }
  1865. // -----------------------------------------------------------------------------------------------------------
  1866. template <> size_t GenericFill<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  1867. {
  1868. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(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<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  1874. {
  1875. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  1876. // this data structure is not used yet, so there is no code generated to fill its members
  1877. return base;
  1878. }
  1879. // -----------------------------------------------------------------------------------------------------------
  1880. template <> size_t GenericFill<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  1881. {
  1882. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1883. return base;
  1884. }
  1885. // -----------------------------------------------------------------------------------------------------------
  1886. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  1887. {
  1888. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  1889. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  1890. boost::shared_ptr<const DataType> arg = params[base++];
  1891. try { GenericConvert( in->Coordinates, arg, db ); break; }
  1892. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  1893. } while(0);
  1894. return base;
  1895. }
  1896. // -----------------------------------------------------------------------------------------------------------
  1897. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  1898. {
  1899. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1900. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  1901. boost::shared_ptr<const DataType> arg = params[base++];
  1902. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  1903. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1904. try { GenericConvert( in->Axis1, arg, db ); break; }
  1905. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  1906. } while(0);
  1907. do { // convert the 'Axis2' argument
  1908. boost::shared_ptr<const DataType> arg = params[base++];
  1909. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  1910. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1911. try { GenericConvert( in->Axis2, arg, db ); break; }
  1912. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  1913. } while(0);
  1914. do { // convert the 'LocalOrigin' argument
  1915. boost::shared_ptr<const DataType> arg = params[base++];
  1916. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  1917. try { GenericConvert( in->LocalOrigin, arg, db ); break; }
  1918. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  1919. } while(0);
  1920. do { // convert the 'Scale' argument
  1921. boost::shared_ptr<const DataType> arg = params[base++];
  1922. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  1923. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1924. try { GenericConvert( in->Scale, arg, db ); break; }
  1925. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `REAL`")); }
  1926. } while(0);
  1927. return base;
  1928. }
  1929. // -----------------------------------------------------------------------------------------------------------
  1930. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  1931. {
  1932. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(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<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  1938. {
  1939. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(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<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  1945. {
  1946. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  1947. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  1948. boost::shared_ptr<const DataType> arg = params[base++];
  1949. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  1950. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1951. try { GenericConvert( in->Axis3, arg, db ); break; }
  1952. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  1953. } while(0);
  1954. return base;
  1955. }
  1956. // -----------------------------------------------------------------------------------------------------------
  1957. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  1958. {
  1959. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  1960. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcCartesianTransformationOperator3DnonUniform"); } do { // convert the 'Scale2' argument
  1961. boost::shared_ptr<const DataType> arg = params[base++];
  1962. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1963. try { GenericConvert( in->Scale2, arg, db ); break; }
  1964. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  1965. } while(0);
  1966. do { // convert the 'Scale3' argument
  1967. boost::shared_ptr<const DataType> arg = params[base++];
  1968. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1969. try { GenericConvert( in->Scale3, arg, db ); break; }
  1970. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcCartesianTransformationOperator3DnonUniform to be a `REAL`")); }
  1971. } while(0);
  1972. return base;
  1973. }
  1974. // -----------------------------------------------------------------------------------------------------------
  1975. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  1976. {
  1977. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  1978. // this data structure is not used yet, so there is no code generated to fill its members
  1979. return base;
  1980. }
  1981. // -----------------------------------------------------------------------------------------------------------
  1982. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  1983. {
  1984. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1985. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElement"); } return base;
  1986. }
  1987. // -----------------------------------------------------------------------------------------------------------
  1988. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  1989. {
  1990. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  1991. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElementSubtraction"); } return base;
  1992. }
  1993. // -----------------------------------------------------------------------------------------------------------
  1994. template <> size_t GenericFill<IfcEdgeFeature>(const DB& db, const LIST& params, IfcEdgeFeature* in)
  1995. {
  1996. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  1997. // this data structure is not used yet, so there is no code generated to fill its members
  1998. return base;
  1999. }
  2000. // -----------------------------------------------------------------------------------------------------------
  2001. template <> size_t GenericFill<IfcChamferEdgeFeature>(const DB& db, const LIST& params, IfcChamferEdgeFeature* in)
  2002. {
  2003. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  2004. // this data structure is not used yet, so there is no code generated to fill its members
  2005. return base;
  2006. }
  2007. // -----------------------------------------------------------------------------------------------------------
  2008. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  2009. {
  2010. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2011. // this data structure is not used yet, so there is no code generated to fill its members
  2012. return base;
  2013. }
  2014. // -----------------------------------------------------------------------------------------------------------
  2015. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  2016. {
  2017. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2018. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConic"); } do { // convert the 'Position' argument
  2019. boost::shared_ptr<const DataType> arg = params[base++];
  2020. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConic,1>::aux_is_derived[0]=true; break; }
  2021. try { GenericConvert( in->Position, arg, db ); break; }
  2022. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConic to be a `IfcAxis2Placement`")); }
  2023. } while(0);
  2024. return base;
  2025. }
  2026. // -----------------------------------------------------------------------------------------------------------
  2027. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  2028. {
  2029. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  2030. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCircle"); } do { // convert the 'Radius' argument
  2031. boost::shared_ptr<const DataType> arg = params[base++];
  2032. try { GenericConvert( in->Radius, arg, db ); break; }
  2033. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCircle to be a `IfcPositiveLengthMeasure`")); }
  2034. } while(0);
  2035. return base;
  2036. }
  2037. // -----------------------------------------------------------------------------------------------------------
  2038. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2039. {
  2040. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2041. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2042. boost::shared_ptr<const DataType> arg = params[base++];
  2043. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2044. try { GenericConvert( in->Radius, arg, db ); break; }
  2045. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2046. } while(0);
  2047. return base;
  2048. }
  2049. // -----------------------------------------------------------------------------------------------------------
  2050. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  2051. {
  2052. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  2053. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  2054. boost::shared_ptr<const DataType> arg = params[base++];
  2055. try { GenericConvert( in->WallThickness, arg, db ); break; }
  2056. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2057. } while(0);
  2058. return base;
  2059. }
  2060. // -----------------------------------------------------------------------------------------------------------
  2061. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  2062. {
  2063. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  2064. return base;
  2065. }
  2066. // -----------------------------------------------------------------------------------------------------------
  2067. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  2068. {
  2069. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2070. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  2071. boost::shared_ptr<const DataType> arg = params[base++];
  2072. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  2073. try { GenericConvert( in->CfsFaces, arg, db ); break; }
  2074. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  2075. } while(0);
  2076. return base;
  2077. }
  2078. // -----------------------------------------------------------------------------------------------------------
  2079. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  2080. {
  2081. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  2082. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  2083. }
  2084. // -----------------------------------------------------------------------------------------------------------
  2085. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  2086. {
  2087. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2088. // this data structure is not used yet, so there is no code generated to fill its members
  2089. return base;
  2090. }
  2091. // -----------------------------------------------------------------------------------------------------------
  2092. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  2093. {
  2094. size_t base = 0;
  2095. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  2096. boost::shared_ptr<const DataType> arg = params[base++];
  2097. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  2098. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2099. try { GenericConvert( in->Name, arg, db ); break; }
  2100. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  2101. } while(0);
  2102. return base;
  2103. }
  2104. // -----------------------------------------------------------------------------------------------------------
  2105. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  2106. {
  2107. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  2108. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  2109. boost::shared_ptr<const DataType> arg = params[base++];
  2110. try { GenericConvert( in->Red, arg, db ); break; }
  2111. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2112. } while(0);
  2113. do { // convert the 'Green' argument
  2114. boost::shared_ptr<const DataType> arg = params[base++];
  2115. try { GenericConvert( in->Green, arg, db ); break; }
  2116. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2117. } while(0);
  2118. do { // convert the 'Blue' argument
  2119. boost::shared_ptr<const DataType> arg = params[base++];
  2120. try { GenericConvert( in->Blue, arg, db ); break; }
  2121. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2122. } while(0);
  2123. return base;
  2124. }
  2125. // -----------------------------------------------------------------------------------------------------------
  2126. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  2127. {
  2128. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2129. // this data structure is not used yet, so there is no code generated to fill its members
  2130. return base;
  2131. }
  2132. // -----------------------------------------------------------------------------------------------------------
  2133. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  2134. {
  2135. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2136. // this data structure is not used yet, so there is no code generated to fill its members
  2137. return base;
  2138. }
  2139. // -----------------------------------------------------------------------------------------------------------
  2140. template <> size_t GenericFill<IfcProperty>(const DB& db, const LIST& params, IfcProperty* in)
  2141. {
  2142. size_t base = 0;
  2143. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProperty"); } do { // convert the 'Name' argument
  2144. boost::shared_ptr<const DataType> arg = params[base++];
  2145. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[0]=true; break; }
  2146. try { GenericConvert( in->Name, arg, db ); break; }
  2147. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProperty to be a `IfcIdentifier`")); }
  2148. } while(0);
  2149. do { // convert the 'Description' argument
  2150. boost::shared_ptr<const DataType> arg = params[base++];
  2151. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[1]=true; break; }
  2152. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2153. try { GenericConvert( in->Description, arg, db ); break; }
  2154. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProperty to be a `IfcText`")); }
  2155. } while(0);
  2156. return base;
  2157. }
  2158. // -----------------------------------------------------------------------------------------------------------
  2159. template <> size_t GenericFill<IfcComplexProperty>(const DB& db, const LIST& params, IfcComplexProperty* in)
  2160. {
  2161. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  2162. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcComplexProperty"); } do { // convert the 'UsageName' argument
  2163. boost::shared_ptr<const DataType> arg = params[base++];
  2164. try { GenericConvert( in->UsageName, arg, db ); break; }
  2165. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcComplexProperty to be a `IfcIdentifier`")); }
  2166. } while(0);
  2167. do { // convert the 'HasProperties' argument
  2168. boost::shared_ptr<const DataType> arg = params[base++];
  2169. try { GenericConvert( in->HasProperties, arg, db ); break; }
  2170. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcComplexProperty to be a `SET [1:?] OF IfcProperty`")); }
  2171. } while(0);
  2172. return base;
  2173. }
  2174. // -----------------------------------------------------------------------------------------------------------
  2175. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  2176. {
  2177. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2178. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcCompositeCurveSegment"); } do { // convert the 'Transition' argument
  2179. boost::shared_ptr<const DataType> arg = params[base++];
  2180. try { GenericConvert( in->Transition, arg, db ); break; }
  2181. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurveSegment to be a `IfcTransitionCode`")); }
  2182. } while(0);
  2183. do { // convert the 'SameSense' argument
  2184. boost::shared_ptr<const DataType> arg = params[base++];
  2185. try { GenericConvert( in->SameSense, arg, db ); break; }
  2186. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurveSegment to be a `BOOLEAN`")); }
  2187. } while(0);
  2188. do { // convert the 'ParentCurve' argument
  2189. boost::shared_ptr<const DataType> arg = params[base++];
  2190. try { GenericConvert( in->ParentCurve, arg, db ); break; }
  2191. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCompositeCurveSegment to be a `IfcCurve`")); }
  2192. } while(0);
  2193. return base;
  2194. }
  2195. // -----------------------------------------------------------------------------------------------------------
  2196. template <> size_t GenericFill<IfcCompositeProfileDef>(const DB& db, const LIST& params, IfcCompositeProfileDef* in)
  2197. {
  2198. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2199. // this data structure is not used yet, so there is no code generated to fill its members
  2200. return base;
  2201. }
  2202. // -----------------------------------------------------------------------------------------------------------
  2203. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  2204. {
  2205. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2206. // this data structure is not used yet, so there is no code generated to fill its members
  2207. return base;
  2208. }
  2209. // -----------------------------------------------------------------------------------------------------------
  2210. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  2211. {
  2212. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  2213. // this data structure is not used yet, so there is no code generated to fill its members
  2214. return base;
  2215. }
  2216. // -----------------------------------------------------------------------------------------------------------
  2217. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  2218. {
  2219. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2220. // this data structure is not used yet, so there is no code generated to fill its members
  2221. return base;
  2222. }
  2223. // -----------------------------------------------------------------------------------------------------------
  2224. template <> size_t GenericFill<IfcCondition>(const DB& db, const LIST& params, IfcCondition* in)
  2225. {
  2226. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2227. // this data structure is not used yet, so there is no code generated to fill its members
  2228. return base;
  2229. }
  2230. // -----------------------------------------------------------------------------------------------------------
  2231. template <> size_t GenericFill<IfcConditionCriterion>(const DB& db, const LIST& params, IfcConditionCriterion* in)
  2232. {
  2233. size_t base = GenericFill(db,params,static_cast<IfcControl*>(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<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  2239. {
  2240. size_t base = GenericFill(db,params,static_cast<IfcObject*>(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<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2246. {
  2247. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2248. // this data structure is not used yet, so there is no code generated to fill its members
  2249. return base;
  2250. }
  2251. // -----------------------------------------------------------------------------------------------------------
  2252. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2253. {
  2254. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2255. // this data structure is not used yet, so there is no code generated to fill its members
  2256. return base;
  2257. }
  2258. // -----------------------------------------------------------------------------------------------------------
  2259. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  2260. {
  2261. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2262. // this data structure is not used yet, so there is no code generated to fill its members
  2263. return base;
  2264. }
  2265. // -----------------------------------------------------------------------------------------------------------
  2266. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2267. {
  2268. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2269. // this data structure is not used yet, so there is no code generated to fill its members
  2270. return base;
  2271. }
  2272. // -----------------------------------------------------------------------------------------------------------
  2273. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  2274. {
  2275. size_t base = 0;
  2276. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  2277. boost::shared_ptr<const DataType> arg = params[base++];
  2278. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  2279. try { GenericConvert( in->Dimensions, arg, db ); break; }
  2280. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  2281. } while(0);
  2282. do { // convert the 'UnitType' argument
  2283. boost::shared_ptr<const DataType> arg = params[base++];
  2284. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  2285. try { GenericConvert( in->UnitType, arg, db ); break; }
  2286. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  2287. } while(0);
  2288. return base;
  2289. }
  2290. // -----------------------------------------------------------------------------------------------------------
  2291. template <> size_t GenericFill<IfcContextDependentUnit>(const DB& db, const LIST& params, IfcContextDependentUnit* in)
  2292. {
  2293. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(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<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  2299. {
  2300. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(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<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  2306. {
  2307. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2308. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  2309. boost::shared_ptr<const DataType> arg = params[base++];
  2310. try { GenericConvert( in->Name, arg, db ); break; }
  2311. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  2312. } while(0);
  2313. do { // convert the 'ConversionFactor' argument
  2314. boost::shared_ptr<const DataType> arg = params[base++];
  2315. try { GenericConvert( in->ConversionFactor, arg, db ); break; }
  2316. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  2317. } while(0);
  2318. return base;
  2319. }
  2320. // -----------------------------------------------------------------------------------------------------------
  2321. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  2322. {
  2323. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2324. // this data structure is not used yet, so there is no code generated to fill its members
  2325. return base;
  2326. }
  2327. // -----------------------------------------------------------------------------------------------------------
  2328. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2329. {
  2330. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2331. // this data structure is not used yet, so there is no code generated to fill its members
  2332. return base;
  2333. }
  2334. // -----------------------------------------------------------------------------------------------------------
  2335. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  2336. {
  2337. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2338. // this data structure is not used yet, so there is no code generated to fill its members
  2339. return base;
  2340. }
  2341. // -----------------------------------------------------------------------------------------------------------
  2342. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  2343. {
  2344. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2345. // this data structure is not used yet, so there is no code generated to fill its members
  2346. return base;
  2347. }
  2348. // -----------------------------------------------------------------------------------------------------------
  2349. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2350. {
  2351. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2352. // this data structure is not used yet, so there is no code generated to fill its members
  2353. return base;
  2354. }
  2355. // -----------------------------------------------------------------------------------------------------------
  2356. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  2357. {
  2358. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2359. // this data structure is not used yet, so there is no code generated to fill its members
  2360. return base;
  2361. }
  2362. // -----------------------------------------------------------------------------------------------------------
  2363. template <> size_t GenericFill<IfcCraneRailAShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailAShapeProfileDef* in)
  2364. {
  2365. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2366. // this data structure is not used yet, so there is no code generated to fill its members
  2367. return base;
  2368. }
  2369. // -----------------------------------------------------------------------------------------------------------
  2370. template <> size_t GenericFill<IfcCraneRailFShapeProfileDef>(const DB& db, const LIST& params, IfcCraneRailFShapeProfileDef* in)
  2371. {
  2372. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2373. // this data structure is not used yet, so there is no code generated to fill its members
  2374. return base;
  2375. }
  2376. // -----------------------------------------------------------------------------------------------------------
  2377. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2378. {
  2379. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2380. // this data structure is not used yet, so there is no code generated to fill its members
  2381. return base;
  2382. }
  2383. // -----------------------------------------------------------------------------------------------------------
  2384. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  2385. {
  2386. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2387. return base;
  2388. }
  2389. // -----------------------------------------------------------------------------------------------------------
  2390. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  2391. {
  2392. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2393. // this data structure is not used yet, so there is no code generated to fill its members
  2394. return base;
  2395. }
  2396. // -----------------------------------------------------------------------------------------------------------
  2397. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  2398. {
  2399. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2400. // this data structure is not used yet, so there is no code generated to fill its members
  2401. return base;
  2402. }
  2403. // -----------------------------------------------------------------------------------------------------------
  2404. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  2405. {
  2406. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2407. // this data structure is not used yet, so there is no code generated to fill its members
  2408. return base;
  2409. }
  2410. // -----------------------------------------------------------------------------------------------------------
  2411. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  2412. {
  2413. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  2414. // this data structure is not used yet, so there is no code generated to fill its members
  2415. return base;
  2416. }
  2417. // -----------------------------------------------------------------------------------------------------------
  2418. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2419. {
  2420. size_t base = 0;
  2421. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2422. boost::shared_ptr<const DataType> arg = params[base++];
  2423. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2424. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2425. try { GenericConvert( in->Name, arg, db ); break; }
  2426. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2427. } while(0);
  2428. return base;
  2429. }
  2430. // -----------------------------------------------------------------------------------------------------------
  2431. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2432. {
  2433. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2434. // this data structure is not used yet, so there is no code generated to fill its members
  2435. return base;
  2436. }
  2437. // -----------------------------------------------------------------------------------------------------------
  2438. template <> size_t GenericFill<IfcDefinedSymbol>(const DB& db, const LIST& params, IfcDefinedSymbol* in)
  2439. {
  2440. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2441. // this data structure is not used yet, so there is no code generated to fill its members
  2442. return base;
  2443. }
  2444. // -----------------------------------------------------------------------------------------------------------
  2445. template <> size_t GenericFill<IfcDerivedProfileDef>(const DB& db, const LIST& params, IfcDerivedProfileDef* in)
  2446. {
  2447. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2448. // this data structure is not used yet, so there is no code generated to fill its members
  2449. return base;
  2450. }
  2451. // -----------------------------------------------------------------------------------------------------------
  2452. template <> size_t GenericFill<IfcDiameterDimension>(const DB& db, const LIST& params, IfcDiameterDimension* in)
  2453. {
  2454. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  2455. // this data structure is not used yet, so there is no code generated to fill its members
  2456. return base;
  2457. }
  2458. // -----------------------------------------------------------------------------------------------------------
  2459. template <> size_t GenericFill<IfcDimensionCurve>(const DB& db, const LIST& params, IfcDimensionCurve* in)
  2460. {
  2461. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  2462. // this data structure is not used yet, so there is no code generated to fill its members
  2463. return base;
  2464. }
  2465. // -----------------------------------------------------------------------------------------------------------
  2466. template <> size_t GenericFill<IfcTerminatorSymbol>(const DB& db, const LIST& params, IfcTerminatorSymbol* in)
  2467. {
  2468. size_t base = GenericFill(db,params,static_cast<IfcAnnotationSymbolOccurrence*>(in));
  2469. // this data structure is not used yet, so there is no code generated to fill its members
  2470. return base;
  2471. }
  2472. // -----------------------------------------------------------------------------------------------------------
  2473. template <> size_t GenericFill<IfcDimensionCurveTerminator>(const DB& db, const LIST& params, IfcDimensionCurveTerminator* in)
  2474. {
  2475. size_t base = GenericFill(db,params,static_cast<IfcTerminatorSymbol*>(in));
  2476. // this data structure is not used yet, so there is no code generated to fill its members
  2477. return base;
  2478. }
  2479. // -----------------------------------------------------------------------------------------------------------
  2480. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  2481. {
  2482. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2483. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  2484. boost::shared_ptr<const DataType> arg = params[base++];
  2485. try { GenericConvert( in->DirectionRatios, arg, db ); break; }
  2486. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF REAL`")); }
  2487. } while(0);
  2488. return base;
  2489. }
  2490. // -----------------------------------------------------------------------------------------------------------
  2491. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  2492. {
  2493. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2494. // this data structure is not used yet, so there is no code generated to fill its members
  2495. return base;
  2496. }
  2497. // -----------------------------------------------------------------------------------------------------------
  2498. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  2499. {
  2500. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2501. // this data structure is not used yet, so there is no code generated to fill its members
  2502. return base;
  2503. }
  2504. // -----------------------------------------------------------------------------------------------------------
  2505. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  2506. {
  2507. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2508. // this data structure is not used yet, so there is no code generated to fill its members
  2509. return base;
  2510. }
  2511. // -----------------------------------------------------------------------------------------------------------
  2512. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  2513. {
  2514. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  2515. // this data structure is not used yet, so there is no code generated to fill its members
  2516. return base;
  2517. }
  2518. // -----------------------------------------------------------------------------------------------------------
  2519. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  2520. {
  2521. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2522. // this data structure is not used yet, so there is no code generated to fill its members
  2523. return base;
  2524. }
  2525. // -----------------------------------------------------------------------------------------------------------
  2526. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  2527. {
  2528. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2529. // this data structure is not used yet, so there is no code generated to fill its members
  2530. return base;
  2531. }
  2532. // -----------------------------------------------------------------------------------------------------------
  2533. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  2534. {
  2535. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2536. // this data structure is not used yet, so there is no code generated to fill its members
  2537. return base;
  2538. }
  2539. // -----------------------------------------------------------------------------------------------------------
  2540. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  2541. {
  2542. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2543. // this data structure is not used yet, so there is no code generated to fill its members
  2544. return base;
  2545. }
  2546. // -----------------------------------------------------------------------------------------------------------
  2547. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  2548. {
  2549. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  2550. // this data structure is not used yet, so there is no code generated to fill its members
  2551. return base;
  2552. }
  2553. // -----------------------------------------------------------------------------------------------------------
  2554. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  2555. {
  2556. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2557. // this data structure is not used yet, so there is no code generated to fill its members
  2558. return base;
  2559. }
  2560. // -----------------------------------------------------------------------------------------------------------
  2561. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  2562. {
  2563. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  2564. // this data structure is not used yet, so there is no code generated to fill its members
  2565. return base;
  2566. }
  2567. // -----------------------------------------------------------------------------------------------------------
  2568. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  2569. {
  2570. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2571. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  2572. boost::shared_ptr<const DataType> arg = params[base++];
  2573. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2574. try { GenericConvert( in->OverallHeight, arg, db ); break; }
  2575. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  2576. } while(0);
  2577. do { // convert the 'OverallWidth' argument
  2578. boost::shared_ptr<const DataType> arg = params[base++];
  2579. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2580. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  2581. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  2582. } while(0);
  2583. return base;
  2584. }
  2585. // -----------------------------------------------------------------------------------------------------------
  2586. template <> size_t GenericFill<IfcPropertyDefinition>(const DB& db, const LIST& params, IfcPropertyDefinition* in)
  2587. {
  2588. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  2589. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyDefinition"); } return base;
  2590. }
  2591. // -----------------------------------------------------------------------------------------------------------
  2592. template <> size_t GenericFill<IfcPropertySetDefinition>(const DB& db, const LIST& params, IfcPropertySetDefinition* in)
  2593. {
  2594. size_t base = GenericFill(db,params,static_cast<IfcPropertyDefinition*>(in));
  2595. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySetDefinition"); } return base;
  2596. }
  2597. // -----------------------------------------------------------------------------------------------------------
  2598. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  2599. {
  2600. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  2601. // this data structure is not used yet, so there is no code generated to fill its members
  2602. return base;
  2603. }
  2604. // -----------------------------------------------------------------------------------------------------------
  2605. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  2606. {
  2607. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2608. // this data structure is not used yet, so there is no code generated to fill its members
  2609. return base;
  2610. }
  2611. // -----------------------------------------------------------------------------------------------------------
  2612. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  2613. {
  2614. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  2615. // this data structure is not used yet, so there is no code generated to fill its members
  2616. return base;
  2617. }
  2618. // -----------------------------------------------------------------------------------------------------------
  2619. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  2620. {
  2621. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2622. // this data structure is not used yet, so there is no code generated to fill its members
  2623. return base;
  2624. }
  2625. // -----------------------------------------------------------------------------------------------------------
  2626. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  2627. {
  2628. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  2629. // this data structure is not used yet, so there is no code generated to fill its members
  2630. return base;
  2631. }
  2632. // -----------------------------------------------------------------------------------------------------------
  2633. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  2634. {
  2635. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2636. // this data structure is not used yet, so there is no code generated to fill its members
  2637. return base;
  2638. }
  2639. // -----------------------------------------------------------------------------------------------------------
  2640. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  2641. {
  2642. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  2643. // this data structure is not used yet, so there is no code generated to fill its members
  2644. return base;
  2645. }
  2646. // -----------------------------------------------------------------------------------------------------------
  2647. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  2648. {
  2649. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2650. return base;
  2651. }
  2652. // -----------------------------------------------------------------------------------------------------------
  2653. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  2654. {
  2655. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(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<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  2661. {
  2662. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(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<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  2668. {
  2669. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcElectricDistributionPoint>(const DB& db, const LIST& params, IfcElectricDistributionPoint* in)
  2675. {
  2676. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2677. // this data structure is not used yet, so there is no code generated to fill its members
  2678. return base;
  2679. }
  2680. // -----------------------------------------------------------------------------------------------------------
  2681. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  2682. {
  2683. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2684. // this data structure is not used yet, so there is no code generated to fill its members
  2685. return base;
  2686. }
  2687. // -----------------------------------------------------------------------------------------------------------
  2688. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  2689. {
  2690. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  2691. // this data structure is not used yet, so there is no code generated to fill its members
  2692. return base;
  2693. }
  2694. // -----------------------------------------------------------------------------------------------------------
  2695. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  2696. {
  2697. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2698. // this data structure is not used yet, so there is no code generated to fill its members
  2699. return base;
  2700. }
  2701. // -----------------------------------------------------------------------------------------------------------
  2702. template <> size_t GenericFill<IfcElectricHeaterType>(const DB& db, const LIST& params, IfcElectricHeaterType* in)
  2703. {
  2704. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2705. // this data structure is not used yet, so there is no code generated to fill its members
  2706. return base;
  2707. }
  2708. // -----------------------------------------------------------------------------------------------------------
  2709. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  2710. {
  2711. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2712. // this data structure is not used yet, so there is no code generated to fill its members
  2713. return base;
  2714. }
  2715. // -----------------------------------------------------------------------------------------------------------
  2716. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  2717. {
  2718. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2719. // this data structure is not used yet, so there is no code generated to fill its members
  2720. return base;
  2721. }
  2722. // -----------------------------------------------------------------------------------------------------------
  2723. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  2724. {
  2725. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2726. // this data structure is not used yet, so there is no code generated to fill its members
  2727. return base;
  2728. }
  2729. // -----------------------------------------------------------------------------------------------------------
  2730. template <> size_t GenericFill<IfcElectricalCircuit>(const DB& db, const LIST& params, IfcElectricalCircuit* in)
  2731. {
  2732. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(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<IfcElectricalElement>(const DB& db, const LIST& params, IfcElectricalElement* in)
  2738. {
  2739. size_t base = GenericFill(db,params,static_cast<IfcElement*>(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<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  2745. {
  2746. size_t base = GenericFill(db,params,static_cast<IfcElement*>(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<IfcElementQuantity>(const DB& db, const LIST& params, IfcElementQuantity* in)
  2752. {
  2753. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  2754. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcElementQuantity"); } do { // convert the 'MethodOfMeasurement' argument
  2755. boost::shared_ptr<const DataType> arg = params[base++];
  2756. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2757. try { GenericConvert( in->MethodOfMeasurement, arg, db ); break; }
  2758. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcElementQuantity to be a `IfcLabel`")); }
  2759. } while(0);
  2760. do { // convert the 'Quantities' argument
  2761. boost::shared_ptr<const DataType> arg = params[base++];
  2762. try { GenericConvert( in->Quantities, arg, db ); break; }
  2763. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcElementQuantity to be a `SET [1:?] OF IfcPhysicalQuantity`")); }
  2764. } while(0);
  2765. return base;
  2766. }
  2767. // -----------------------------------------------------------------------------------------------------------
  2768. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  2769. {
  2770. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  2771. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  2772. boost::shared_ptr<const DataType> arg = params[base++];
  2773. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  2774. try { GenericConvert( in->Position, arg, db ); break; }
  2775. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  2776. } while(0);
  2777. return base;
  2778. }
  2779. // -----------------------------------------------------------------------------------------------------------
  2780. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  2781. {
  2782. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  2783. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcEllipse"); } do { // convert the 'SemiAxis1' argument
  2784. boost::shared_ptr<const DataType> arg = params[base++];
  2785. try { GenericConvert( in->SemiAxis1, arg, db ); break; }
  2786. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  2787. } while(0);
  2788. do { // convert the 'SemiAxis2' argument
  2789. boost::shared_ptr<const DataType> arg = params[base++];
  2790. try { GenericConvert( in->SemiAxis2, arg, db ); break; }
  2791. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  2792. } while(0);
  2793. return base;
  2794. }
  2795. // -----------------------------------------------------------------------------------------------------------
  2796. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  2797. {
  2798. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2799. // this data structure is not used yet, so there is no code generated to fill its members
  2800. return base;
  2801. }
  2802. // -----------------------------------------------------------------------------------------------------------
  2803. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  2804. {
  2805. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2806. // this data structure is not used yet, so there is no code generated to fill its members
  2807. return base;
  2808. }
  2809. // -----------------------------------------------------------------------------------------------------------
  2810. template <> size_t GenericFill<IfcEquipmentElement>(const DB& db, const LIST& params, IfcEquipmentElement* in)
  2811. {
  2812. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2813. // this data structure is not used yet, so there is no code generated to fill its members
  2814. return base;
  2815. }
  2816. // -----------------------------------------------------------------------------------------------------------
  2817. template <> size_t GenericFill<IfcEquipmentStandard>(const DB& db, const LIST& params, IfcEquipmentStandard* in)
  2818. {
  2819. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2820. // this data structure is not used yet, so there is no code generated to fill its members
  2821. return base;
  2822. }
  2823. // -----------------------------------------------------------------------------------------------------------
  2824. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  2825. {
  2826. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2827. // this data structure is not used yet, so there is no code generated to fill its members
  2828. return base;
  2829. }
  2830. // -----------------------------------------------------------------------------------------------------------
  2831. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  2832. {
  2833. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2834. // this data structure is not used yet, so there is no code generated to fill its members
  2835. return base;
  2836. }
  2837. // -----------------------------------------------------------------------------------------------------------
  2838. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  2839. {
  2840. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2841. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  2842. boost::shared_ptr<const DataType> arg = params[base++];
  2843. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  2844. try { GenericConvert( in->SweptArea, arg, db ); break; }
  2845. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  2846. } while(0);
  2847. do { // convert the 'Position' argument
  2848. boost::shared_ptr<const DataType> arg = params[base++];
  2849. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  2850. try { GenericConvert( in->Position, arg, db ); break; }
  2851. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  2852. } while(0);
  2853. return base;
  2854. }
  2855. // -----------------------------------------------------------------------------------------------------------
  2856. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  2857. {
  2858. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  2859. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  2860. boost::shared_ptr<const DataType> arg = params[base++];
  2861. try { GenericConvert( in->ExtrudedDirection, arg, db ); break; }
  2862. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  2863. } while(0);
  2864. do { // convert the 'Depth' argument
  2865. boost::shared_ptr<const DataType> arg = params[base++];
  2866. try { GenericConvert( in->Depth, arg, db ); break; }
  2867. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  2868. } while(0);
  2869. return base;
  2870. }
  2871. // -----------------------------------------------------------------------------------------------------------
  2872. template <> size_t GenericFill<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  2873. {
  2874. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2875. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  2876. boost::shared_ptr<const DataType> arg = params[base++];
  2877. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  2878. try { GenericConvert( in->Bounds, arg, db ); break; }
  2879. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  2880. } while(0);
  2881. return base;
  2882. }
  2883. // -----------------------------------------------------------------------------------------------------------
  2884. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  2885. {
  2886. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2887. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFaceBasedSurfaceModel"); } do { // convert the 'FbsmFaces' argument
  2888. boost::shared_ptr<const DataType> arg = params[base++];
  2889. try { GenericConvert( in->FbsmFaces, arg, db ); break; }
  2890. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBasedSurfaceModel to be a `SET [1:?] OF IfcConnectedFaceSet`")); }
  2891. } while(0);
  2892. return base;
  2893. }
  2894. // -----------------------------------------------------------------------------------------------------------
  2895. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  2896. {
  2897. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2898. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  2899. boost::shared_ptr<const DataType> arg = params[base++];
  2900. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  2901. try { GenericConvert( in->Bound, arg, db ); break; }
  2902. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  2903. } while(0);
  2904. do { // convert the 'Orientation' argument
  2905. boost::shared_ptr<const DataType> arg = params[base++];
  2906. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  2907. try { GenericConvert( in->Orientation, arg, db ); break; }
  2908. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `BOOLEAN`")); }
  2909. } while(0);
  2910. return base;
  2911. }
  2912. // -----------------------------------------------------------------------------------------------------------
  2913. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  2914. {
  2915. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  2916. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceOuterBound"); } return base;
  2917. }
  2918. // -----------------------------------------------------------------------------------------------------------
  2919. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  2920. {
  2921. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  2922. // this data structure is not used yet, so there is no code generated to fill its members
  2923. return base;
  2924. }
  2925. // -----------------------------------------------------------------------------------------------------------
  2926. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  2927. {
  2928. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2929. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  2930. boost::shared_ptr<const DataType> arg = params[base++];
  2931. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  2932. try { GenericConvert( in->Outer, arg, db ); break; }
  2933. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  2934. } while(0);
  2935. return base;
  2936. }
  2937. // -----------------------------------------------------------------------------------------------------------
  2938. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  2939. {
  2940. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  2941. // this data structure is not used yet, so there is no code generated to fill its members
  2942. return base;
  2943. }
  2944. // -----------------------------------------------------------------------------------------------------------
  2945. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  2946. {
  2947. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  2948. // this data structure is not used yet, so there is no code generated to fill its members
  2949. return base;
  2950. }
  2951. // -----------------------------------------------------------------------------------------------------------
  2952. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  2953. {
  2954. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  2955. // this data structure is not used yet, so there is no code generated to fill its members
  2956. return base;
  2957. }
  2958. // -----------------------------------------------------------------------------------------------------------
  2959. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  2960. {
  2961. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2962. // this data structure is not used yet, so there is no code generated to fill its members
  2963. return base;
  2964. }
  2965. // -----------------------------------------------------------------------------------------------------------
  2966. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  2967. {
  2968. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  2969. // this data structure is not used yet, so there is no code generated to fill its members
  2970. return base;
  2971. }
  2972. // -----------------------------------------------------------------------------------------------------------
  2973. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  2974. {
  2975. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  2976. // this data structure is not used yet, so there is no code generated to fill its members
  2977. return base;
  2978. }
  2979. // -----------------------------------------------------------------------------------------------------------
  2980. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  2981. {
  2982. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2983. // this data structure is not used yet, so there is no code generated to fill its members
  2984. return base;
  2985. }
  2986. // -----------------------------------------------------------------------------------------------------------
  2987. template <> size_t GenericFill<IfcFillAreaStyleTileSymbolWithStyle>(const DB& db, const LIST& params, IfcFillAreaStyleTileSymbolWithStyle* in)
  2988. {
  2989. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2990. // this data structure is not used yet, so there is no code generated to fill its members
  2991. return base;
  2992. }
  2993. // -----------------------------------------------------------------------------------------------------------
  2994. template <> size_t GenericFill<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  2995. {
  2996. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2997. // this data structure is not used yet, so there is no code generated to fill its members
  2998. return base;
  2999. }
  3000. // -----------------------------------------------------------------------------------------------------------
  3001. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  3002. {
  3003. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3004. // this data structure is not used yet, so there is no code generated to fill its members
  3005. return base;
  3006. }
  3007. // -----------------------------------------------------------------------------------------------------------
  3008. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  3009. {
  3010. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3011. // this data structure is not used yet, so there is no code generated to fill its members
  3012. return base;
  3013. }
  3014. // -----------------------------------------------------------------------------------------------------------
  3015. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* 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<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  3023. {
  3024. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(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<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  3030. {
  3031. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(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<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  3037. {
  3038. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  3044. {
  3045. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  3051. {
  3052. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  3058. {
  3059. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  3065. {
  3066. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(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<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3072. {
  3073. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(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<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  3079. {
  3080. size_t base = GenericFill(db,params,static_cast<IfcElement*>(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<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  3086. {
  3087. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3088. // this data structure is not used yet, so there is no code generated to fill its members
  3089. return base;
  3090. }
  3091. // -----------------------------------------------------------------------------------------------------------
  3092. template <> size_t GenericFill<IfcFurnitureStandard>(const DB& db, const LIST& params, IfcFurnitureStandard* in)
  3093. {
  3094. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3095. // this data structure is not used yet, so there is no code generated to fill its members
  3096. return base;
  3097. }
  3098. // -----------------------------------------------------------------------------------------------------------
  3099. template <> size_t GenericFill<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  3100. {
  3101. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  3102. // this data structure is not used yet, so there is no code generated to fill its members
  3103. return base;
  3104. }
  3105. // -----------------------------------------------------------------------------------------------------------
  3106. template <> size_t GenericFill<IfcGasTerminalType>(const DB& db, const LIST& params, IfcGasTerminalType* in)
  3107. {
  3108. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3109. // this data structure is not used yet, so there is no code generated to fill its members
  3110. return base;
  3111. }
  3112. // -----------------------------------------------------------------------------------------------------------
  3113. template <> size_t GenericFill<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  3114. {
  3115. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3116. // this data structure is not used yet, so there is no code generated to fill its members
  3117. return base;
  3118. }
  3119. // -----------------------------------------------------------------------------------------------------------
  3120. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  3121. {
  3122. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  3123. // this data structure is not used yet, so there is no code generated to fill its members
  3124. return base;
  3125. }
  3126. // -----------------------------------------------------------------------------------------------------------
  3127. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  3128. {
  3129. size_t base = 0;
  3130. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  3131. boost::shared_ptr<const DataType> arg = params[base++];
  3132. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  3133. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3134. try { GenericConvert( in->ContextIdentifier, arg, db ); break; }
  3135. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  3136. } while(0);
  3137. do { // convert the 'ContextType' argument
  3138. boost::shared_ptr<const DataType> arg = params[base++];
  3139. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  3140. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3141. try { GenericConvert( in->ContextType, arg, db ); break; }
  3142. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  3143. } while(0);
  3144. return base;
  3145. }
  3146. // -----------------------------------------------------------------------------------------------------------
  3147. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  3148. {
  3149. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  3150. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  3151. boost::shared_ptr<const DataType> arg = params[base++];
  3152. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  3153. try { GenericConvert( in->CoordinateSpaceDimension, arg, db ); break; }
  3154. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  3155. } while(0);
  3156. do { // convert the 'Precision' argument
  3157. boost::shared_ptr<const DataType> arg = params[base++];
  3158. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  3159. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3160. try { GenericConvert( in->Precision, arg, db ); break; }
  3161. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `REAL`")); }
  3162. } while(0);
  3163. do { // convert the 'WorldCoordinateSystem' argument
  3164. boost::shared_ptr<const DataType> arg = params[base++];
  3165. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  3166. try { GenericConvert( in->WorldCoordinateSystem, arg, db ); break; }
  3167. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  3168. } while(0);
  3169. do { // convert the 'TrueNorth' argument
  3170. boost::shared_ptr<const DataType> arg = params[base++];
  3171. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  3172. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3173. try { GenericConvert( in->TrueNorth, arg, db ); break; }
  3174. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  3175. } while(0);
  3176. return base;
  3177. }
  3178. // -----------------------------------------------------------------------------------------------------------
  3179. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  3180. {
  3181. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  3182. // this data structure is not used yet, so there is no code generated to fill its members
  3183. return base;
  3184. }
  3185. // -----------------------------------------------------------------------------------------------------------
  3186. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  3187. {
  3188. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  3189. // this data structure is not used yet, so there is no code generated to fill its members
  3190. return base;
  3191. }
  3192. // -----------------------------------------------------------------------------------------------------------
  3193. template <> size_t GenericFill<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  3194. {
  3195. size_t base = 0;
  3196. return base;
  3197. }
  3198. // -----------------------------------------------------------------------------------------------------------
  3199. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  3200. {
  3201. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  3202. // this data structure is not used yet, so there is no code generated to fill its members
  3203. return base;
  3204. }
  3205. // -----------------------------------------------------------------------------------------------------------
  3206. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  3207. {
  3208. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3209. // this data structure is not used yet, so there is no code generated to fill its members
  3210. return base;
  3211. }
  3212. // -----------------------------------------------------------------------------------------------------------
  3213. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3214. {
  3215. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3216. // this data structure is not used yet, so there is no code generated to fill its members
  3217. return base;
  3218. }
  3219. // -----------------------------------------------------------------------------------------------------------
  3220. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  3221. {
  3222. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3223. // this data structure is not used yet, so there is no code generated to fill its members
  3224. return base;
  3225. }
  3226. // -----------------------------------------------------------------------------------------------------------
  3227. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  3228. {
  3229. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3230. // this data structure is not used yet, so there is no code generated to fill its members
  3231. return base;
  3232. }
  3233. // -----------------------------------------------------------------------------------------------------------
  3234. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  3235. {
  3236. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3237. // this data structure is not used yet, so there is no code generated to fill its members
  3238. return base;
  3239. }
  3240. // -----------------------------------------------------------------------------------------------------------
  3241. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  3242. {
  3243. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3244. // this data structure is not used yet, so there is no code generated to fill its members
  3245. return base;
  3246. }
  3247. // -----------------------------------------------------------------------------------------------------------
  3248. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  3249. {
  3250. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3251. // this data structure is not used yet, so there is no code generated to fill its members
  3252. return base;
  3253. }
  3254. // -----------------------------------------------------------------------------------------------------------
  3255. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  3256. {
  3257. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3258. // this data structure is not used yet, so there is no code generated to fill its members
  3259. return base;
  3260. }
  3261. // -----------------------------------------------------------------------------------------------------------
  3262. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  3263. {
  3264. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3265. // this data structure is not used yet, so there is no code generated to fill its members
  3266. return base;
  3267. }
  3268. // -----------------------------------------------------------------------------------------------------------
  3269. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  3270. {
  3271. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3272. // this data structure is not used yet, so there is no code generated to fill its members
  3273. return base;
  3274. }
  3275. // -----------------------------------------------------------------------------------------------------------
  3276. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  3277. {
  3278. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  3279. // this data structure is not used yet, so there is no code generated to fill its members
  3280. return base;
  3281. }
  3282. // -----------------------------------------------------------------------------------------------------------
  3283. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  3284. {
  3285. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(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<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  3291. {
  3292. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(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<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  3298. {
  3299. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(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<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  3305. {
  3306. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  3307. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLine"); } do { // convert the 'Pnt' argument
  3308. boost::shared_ptr<const DataType> arg = params[base++];
  3309. try { GenericConvert( in->Pnt, arg, db ); break; }
  3310. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLine to be a `IfcCartesianPoint`")); }
  3311. } while(0);
  3312. do { // convert the 'Dir' argument
  3313. boost::shared_ptr<const DataType> arg = params[base++];
  3314. try { GenericConvert( in->Dir, arg, db ); break; }
  3315. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLine to be a `IfcVector`")); }
  3316. } while(0);
  3317. return base;
  3318. }
  3319. // -----------------------------------------------------------------------------------------------------------
  3320. template <> size_t GenericFill<IfcLinearDimension>(const DB& db, const LIST& params, IfcLinearDimension* in)
  3321. {
  3322. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  3323. // this data structure is not used yet, so there is no code generated to fill its members
  3324. return base;
  3325. }
  3326. // -----------------------------------------------------------------------------------------------------------
  3327. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  3328. {
  3329. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  3330. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  3331. boost::shared_ptr<const DataType> arg = params[base++];
  3332. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3333. try { GenericConvert( in->PlacementRelTo, arg, db ); break; }
  3334. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  3335. } while(0);
  3336. do { // convert the 'RelativePlacement' argument
  3337. boost::shared_ptr<const DataType> arg = params[base++];
  3338. try { GenericConvert( in->RelativePlacement, arg, db ); break; }
  3339. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  3340. } while(0);
  3341. return base;
  3342. }
  3343. // -----------------------------------------------------------------------------------------------------------
  3344. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  3345. {
  3346. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  3347. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  3348. boost::shared_ptr<const DataType> arg = params[base++];
  3349. try { GenericConvert( in->MappingSource, arg, db ); break; }
  3350. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  3351. } while(0);
  3352. do { // convert the 'MappingTarget' argument
  3353. boost::shared_ptr<const DataType> arg = params[base++];
  3354. try { GenericConvert( in->MappingTarget, arg, db ); break; }
  3355. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  3356. } while(0);
  3357. return base;
  3358. }
  3359. // -----------------------------------------------------------------------------------------------------------
  3360. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  3361. {
  3362. size_t base = 0;
  3363. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  3364. boost::shared_ptr<const DataType> arg = params[base++];
  3365. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  3366. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3367. try { GenericConvert( in->Name, arg, db ); break; }
  3368. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  3369. } while(0);
  3370. do { // convert the 'Description' argument
  3371. boost::shared_ptr<const DataType> arg = params[base++];
  3372. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  3373. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3374. try { GenericConvert( in->Description, arg, db ); break; }
  3375. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  3376. } while(0);
  3377. do { // convert the 'Representations' argument
  3378. boost::shared_ptr<const DataType> arg = params[base++];
  3379. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  3380. try { GenericConvert( in->Representations, arg, db ); break; }
  3381. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  3382. } while(0);
  3383. return base;
  3384. }
  3385. // -----------------------------------------------------------------------------------------------------------
  3386. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  3387. {
  3388. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  3389. // this data structure is not used yet, so there is no code generated to fill its members
  3390. return base;
  3391. }
  3392. // -----------------------------------------------------------------------------------------------------------
  3393. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  3394. {
  3395. size_t base = 0;
  3396. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  3397. boost::shared_ptr<const DataType> arg = params[base++];
  3398. try { GenericConvert( in->ValueComponent, arg, db ); break; }
  3399. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  3400. } while(0);
  3401. do { // convert the 'UnitComponent' argument
  3402. boost::shared_ptr<const DataType> arg = params[base++];
  3403. try { GenericConvert( in->UnitComponent, arg, db ); break; }
  3404. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  3405. } while(0);
  3406. return base;
  3407. }
  3408. // -----------------------------------------------------------------------------------------------------------
  3409. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  3410. {
  3411. size_t base = GenericFill(db,params,static_cast<IfcFastener*>(in));
  3412. // this data structure is not used yet, so there is no code generated to fill its members
  3413. return base;
  3414. }
  3415. // -----------------------------------------------------------------------------------------------------------
  3416. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  3417. {
  3418. size_t base = GenericFill(db,params,static_cast<IfcFastenerType*>(in));
  3419. // this data structure is not used yet, so there is no code generated to fill its members
  3420. return base;
  3421. }
  3422. // -----------------------------------------------------------------------------------------------------------
  3423. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  3424. {
  3425. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3426. // this data structure is not used yet, so there is no code generated to fill its members
  3427. return base;
  3428. }
  3429. // -----------------------------------------------------------------------------------------------------------
  3430. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  3431. {
  3432. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3433. // this data structure is not used yet, so there is no code generated to fill its members
  3434. return base;
  3435. }
  3436. // -----------------------------------------------------------------------------------------------------------
  3437. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  3438. {
  3439. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3440. // this data structure is not used yet, so there is no code generated to fill its members
  3441. return base;
  3442. }
  3443. // -----------------------------------------------------------------------------------------------------------
  3444. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  3445. {
  3446. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3447. // this data structure is not used yet, so there is no code generated to fill its members
  3448. return base;
  3449. }
  3450. // -----------------------------------------------------------------------------------------------------------
  3451. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  3452. {
  3453. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  3454. // this data structure is not used yet, so there is no code generated to fill its members
  3455. return base;
  3456. }
  3457. // -----------------------------------------------------------------------------------------------------------
  3458. template <> size_t GenericFill<IfcMove>(const DB& db, const LIST& params, IfcMove* in)
  3459. {
  3460. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3461. // this data structure is not used yet, so there is no code generated to fill its members
  3462. return base;
  3463. }
  3464. // -----------------------------------------------------------------------------------------------------------
  3465. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  3466. {
  3467. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  3468. // this data structure is not used yet, so there is no code generated to fill its members
  3469. return base;
  3470. }
  3471. // -----------------------------------------------------------------------------------------------------------
  3472. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  3473. {
  3474. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  3475. // this data structure is not used yet, so there is no code generated to fill its members
  3476. return base;
  3477. }
  3478. // -----------------------------------------------------------------------------------------------------------
  3479. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  3480. {
  3481. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  3482. // this data structure is not used yet, so there is no code generated to fill its members
  3483. return base;
  3484. }
  3485. // -----------------------------------------------------------------------------------------------------------
  3486. template <> size_t GenericFill<IfcOneDirectionRepeatFactor>(const DB& db, const LIST& params, IfcOneDirectionRepeatFactor* in)
  3487. {
  3488. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3489. // this data structure is not used yet, so there is no code generated to fill its members
  3490. return base;
  3491. }
  3492. // -----------------------------------------------------------------------------------------------------------
  3493. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  3494. {
  3495. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  3496. // this data structure is not used yet, so there is no code generated to fill its members
  3497. return base;
  3498. }
  3499. // -----------------------------------------------------------------------------------------------------------
  3500. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  3501. {
  3502. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  3503. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcOpeningElement"); } return base;
  3504. }
  3505. // -----------------------------------------------------------------------------------------------------------
  3506. template <> size_t GenericFill<IfcOrderAction>(const DB& db, const LIST& params, IfcOrderAction* in)
  3507. {
  3508. size_t base = GenericFill(db,params,static_cast<IfcTask*>(in));
  3509. // this data structure is not used yet, so there is no code generated to fill its members
  3510. return base;
  3511. }
  3512. // -----------------------------------------------------------------------------------------------------------
  3513. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  3514. {
  3515. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(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<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  3521. {
  3522. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(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<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  3528. {
  3529. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(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<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  3535. {
  3536. size_t base = GenericFill(db,params,static_cast<IfcControl*>(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<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  3542. {
  3543. size_t base = GenericFill(db,params,static_cast<IfcControl*>(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<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  3549. {
  3550. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3551. // this data structure is not used yet, so there is no code generated to fill its members
  3552. return base;
  3553. }
  3554. // -----------------------------------------------------------------------------------------------------------
  3555. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  3556. {
  3557. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3558. // this data structure is not used yet, so there is no code generated to fill its members
  3559. return base;
  3560. }
  3561. // -----------------------------------------------------------------------------------------------------------
  3562. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  3563. {
  3564. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3565. // this data structure is not used yet, so there is no code generated to fill its members
  3566. return base;
  3567. }
  3568. // -----------------------------------------------------------------------------------------------------------
  3569. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  3570. {
  3571. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3572. // this data structure is not used yet, so there is no code generated to fill its members
  3573. return base;
  3574. }
  3575. // -----------------------------------------------------------------------------------------------------------
  3576. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  3577. {
  3578. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  3579. // this data structure is not used yet, so there is no code generated to fill its members
  3580. return base;
  3581. }
  3582. // -----------------------------------------------------------------------------------------------------------
  3583. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  3584. {
  3585. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  3586. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  3587. }
  3588. // -----------------------------------------------------------------------------------------------------------
  3589. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  3590. {
  3591. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3592. // this data structure is not used yet, so there is no code generated to fill its members
  3593. return base;
  3594. }
  3595. // -----------------------------------------------------------------------------------------------------------
  3596. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  3597. {
  3598. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3599. // this data structure is not used yet, so there is no code generated to fill its members
  3600. return base;
  3601. }
  3602. // -----------------------------------------------------------------------------------------------------------
  3603. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  3604. {
  3605. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3606. // this data structure is not used yet, so there is no code generated to fill its members
  3607. return base;
  3608. }
  3609. // -----------------------------------------------------------------------------------------------------------
  3610. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  3611. {
  3612. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  3613. // this data structure is not used yet, so there is no code generated to fill its members
  3614. return base;
  3615. }
  3616. // -----------------------------------------------------------------------------------------------------------
  3617. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  3618. {
  3619. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3620. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  3621. boost::shared_ptr<const DataType> arg = params[base++];
  3622. try { GenericConvert( in->Polygon, arg, db ); break; }
  3623. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  3624. } while(0);
  3625. return base;
  3626. }
  3627. // -----------------------------------------------------------------------------------------------------------
  3628. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  3629. {
  3630. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  3631. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPolygonalBoundedHalfSpace"); } do { // convert the 'Position' argument
  3632. boost::shared_ptr<const DataType> arg = params[base++];
  3633. try { GenericConvert( in->Position, arg, db ); break; }
  3634. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPolygonalBoundedHalfSpace to be a `IfcAxis2Placement3D`")); }
  3635. } while(0);
  3636. do { // convert the 'PolygonalBoundary' argument
  3637. boost::shared_ptr<const DataType> arg = params[base++];
  3638. try { GenericConvert( in->PolygonalBoundary, arg, db ); break; }
  3639. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPolygonalBoundedHalfSpace to be a `IfcBoundedCurve`")); }
  3640. } while(0);
  3641. return base;
  3642. }
  3643. // -----------------------------------------------------------------------------------------------------------
  3644. template <> size_t GenericFill<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  3645. {
  3646. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  3647. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  3648. boost::shared_ptr<const DataType> arg = params[base++];
  3649. try { GenericConvert( in->Points, arg, db ); break; }
  3650. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  3651. } while(0);
  3652. return base;
  3653. }
  3654. // -----------------------------------------------------------------------------------------------------------
  3655. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  3656. {
  3657. size_t base = 0;
  3658. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  3659. boost::shared_ptr<const DataType> arg = params[base++];
  3660. try { GenericConvert( in->Styles, arg, db ); break; }
  3661. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  3662. } while(0);
  3663. return base;
  3664. }
  3665. // -----------------------------------------------------------------------------------------------------------
  3666. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  3667. {
  3668. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  3669. // this data structure is not used yet, so there is no code generated to fill its members
  3670. return base;
  3671. }
  3672. // -----------------------------------------------------------------------------------------------------------
  3673. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  3674. {
  3675. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  3676. // this data structure is not used yet, so there is no code generated to fill its members
  3677. return base;
  3678. }
  3679. // -----------------------------------------------------------------------------------------------------------
  3680. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  3681. {
  3682. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3683. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } do { // convert the 'LongName' argument
  3684. boost::shared_ptr<const DataType> arg = params[base++];
  3685. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3686. try { GenericConvert( in->LongName, arg, db ); break; }
  3687. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProject to be a `IfcLabel`")); }
  3688. } while(0);
  3689. do { // convert the 'Phase' argument
  3690. boost::shared_ptr<const DataType> arg = params[base++];
  3691. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3692. try { GenericConvert( in->Phase, arg, db ); break; }
  3693. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProject to be a `IfcLabel`")); }
  3694. } while(0);
  3695. do { // convert the 'RepresentationContexts' argument
  3696. boost::shared_ptr<const DataType> arg = params[base++];
  3697. try { GenericConvert( in->RepresentationContexts, arg, db ); break; }
  3698. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcProject to be a `SET [1:?] OF IfcRepresentationContext`")); }
  3699. } while(0);
  3700. do { // convert the 'UnitsInContext' argument
  3701. boost::shared_ptr<const DataType> arg = params[base++];
  3702. try { GenericConvert( in->UnitsInContext, arg, db ); break; }
  3703. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcProject to be a `IfcUnitAssignment`")); }
  3704. } while(0);
  3705. return base;
  3706. }
  3707. // -----------------------------------------------------------------------------------------------------------
  3708. template <> size_t GenericFill<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  3709. {
  3710. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3711. // this data structure is not used yet, so there is no code generated to fill its members
  3712. return base;
  3713. }
  3714. // -----------------------------------------------------------------------------------------------------------
  3715. template <> size_t GenericFill<IfcProjectOrderRecord>(const DB& db, const LIST& params, IfcProjectOrderRecord* in)
  3716. {
  3717. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  3718. // this data structure is not used yet, so there is no code generated to fill its members
  3719. return base;
  3720. }
  3721. // -----------------------------------------------------------------------------------------------------------
  3722. template <> size_t GenericFill<IfcProjectionCurve>(const DB& db, const LIST& params, IfcProjectionCurve* in)
  3723. {
  3724. size_t base = GenericFill(db,params,static_cast<IfcAnnotationCurveOccurrence*>(in));
  3725. // this data structure is not used yet, so there is no code generated to fill its members
  3726. return base;
  3727. }
  3728. // -----------------------------------------------------------------------------------------------------------
  3729. template <> size_t GenericFill<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  3730. {
  3731. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(in));
  3732. // this data structure is not used yet, so there is no code generated to fill its members
  3733. return base;
  3734. }
  3735. // -----------------------------------------------------------------------------------------------------------
  3736. template <> size_t GenericFill<IfcSimpleProperty>(const DB& db, const LIST& params, IfcSimpleProperty* in)
  3737. {
  3738. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  3739. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSimpleProperty"); } return base;
  3740. }
  3741. // -----------------------------------------------------------------------------------------------------------
  3742. template <> size_t GenericFill<IfcPropertyBoundedValue>(const DB& db, const LIST& params, IfcPropertyBoundedValue* in)
  3743. {
  3744. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(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<IfcPropertyEnumeratedValue>(const DB& db, const LIST& params, IfcPropertyEnumeratedValue* in)
  3750. {
  3751. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(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<IfcPropertyListValue>(const DB& db, const LIST& params, IfcPropertyListValue* in)
  3757. {
  3758. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  3759. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyListValue"); } do { // convert the 'ListValues' argument
  3760. boost::shared_ptr<const DataType> arg = params[base++];
  3761. try { GenericConvert( in->ListValues, arg, db ); break; }
  3762. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertyListValue to be a `LIST [1:?] OF IfcValue`")); }
  3763. } while(0);
  3764. do { // convert the 'Unit' argument
  3765. boost::shared_ptr<const DataType> arg = params[base++];
  3766. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3767. try { GenericConvert( in->Unit, arg, db ); break; }
  3768. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertyListValue to be a `IfcUnit`")); }
  3769. } while(0);
  3770. return base;
  3771. }
  3772. // -----------------------------------------------------------------------------------------------------------
  3773. template <> size_t GenericFill<IfcPropertyReferenceValue>(const DB& db, const LIST& params, IfcPropertyReferenceValue* in)
  3774. {
  3775. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  3776. // this data structure is not used yet, so there is no code generated to fill its members
  3777. return base;
  3778. }
  3779. // -----------------------------------------------------------------------------------------------------------
  3780. template <> size_t GenericFill<IfcPropertySet>(const DB& db, const LIST& params, IfcPropertySet* in)
  3781. {
  3782. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  3783. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcPropertySet"); } do { // convert the 'HasProperties' argument
  3784. boost::shared_ptr<const DataType> arg = params[base++];
  3785. try { GenericConvert( in->HasProperties, arg, db ); break; }
  3786. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcPropertySet to be a `SET [1:?] OF IfcProperty`")); }
  3787. } while(0);
  3788. return base;
  3789. }
  3790. // -----------------------------------------------------------------------------------------------------------
  3791. template <> size_t GenericFill<IfcPropertySingleValue>(const DB& db, const LIST& params, IfcPropertySingleValue* in)
  3792. {
  3793. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  3794. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySingleValue"); } do { // convert the 'NominalValue' argument
  3795. boost::shared_ptr<const DataType> arg = params[base++];
  3796. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3797. try { GenericConvert( in->NominalValue, arg, db ); break; }
  3798. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertySingleValue to be a `IfcValue`")); }
  3799. } while(0);
  3800. do { // convert the 'Unit' argument
  3801. boost::shared_ptr<const DataType> arg = params[base++];
  3802. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3803. try { GenericConvert( in->Unit, arg, db ); break; }
  3804. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertySingleValue to be a `IfcUnit`")); }
  3805. } while(0);
  3806. return base;
  3807. }
  3808. // -----------------------------------------------------------------------------------------------------------
  3809. template <> size_t GenericFill<IfcPropertyTableValue>(const DB& db, const LIST& params, IfcPropertyTableValue* in)
  3810. {
  3811. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  3812. // this data structure is not used yet, so there is no code generated to fill its members
  3813. return base;
  3814. }
  3815. // -----------------------------------------------------------------------------------------------------------
  3816. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  3817. {
  3818. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3819. // this data structure is not used yet, so there is no code generated to fill its members
  3820. return base;
  3821. }
  3822. // -----------------------------------------------------------------------------------------------------------
  3823. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  3824. {
  3825. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  3826. // this data structure is not used yet, so there is no code generated to fill its members
  3827. return base;
  3828. }
  3829. // -----------------------------------------------------------------------------------------------------------
  3830. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  3831. {
  3832. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3833. // this data structure is not used yet, so there is no code generated to fill its members
  3834. return base;
  3835. }
  3836. // -----------------------------------------------------------------------------------------------------------
  3837. template <> size_t GenericFill<IfcRadiusDimension>(const DB& db, const LIST& params, IfcRadiusDimension* in)
  3838. {
  3839. size_t base = GenericFill(db,params,static_cast<IfcDimensionCurveDirectedCallout*>(in));
  3840. // this data structure is not used yet, so there is no code generated to fill its members
  3841. return base;
  3842. }
  3843. // -----------------------------------------------------------------------------------------------------------
  3844. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  3845. {
  3846. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3847. // this data structure is not used yet, so there is no code generated to fill its members
  3848. return base;
  3849. }
  3850. // -----------------------------------------------------------------------------------------------------------
  3851. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  3852. {
  3853. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3854. // this data structure is not used yet, so there is no code generated to fill its members
  3855. return base;
  3856. }
  3857. // -----------------------------------------------------------------------------------------------------------
  3858. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  3859. {
  3860. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3861. // this data structure is not used yet, so there is no code generated to fill its members
  3862. return base;
  3863. }
  3864. // -----------------------------------------------------------------------------------------------------------
  3865. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  3866. {
  3867. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3868. // this data structure is not used yet, so there is no code generated to fill its members
  3869. return base;
  3870. }
  3871. // -----------------------------------------------------------------------------------------------------------
  3872. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  3873. {
  3874. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3875. // this data structure is not used yet, so there is no code generated to fill its members
  3876. return base;
  3877. }
  3878. // -----------------------------------------------------------------------------------------------------------
  3879. template <> size_t GenericFill<IfcRationalBezierCurve>(const DB& db, const LIST& params, IfcRationalBezierCurve* in)
  3880. {
  3881. size_t base = GenericFill(db,params,static_cast<IfcBezierCurve*>(in));
  3882. // this data structure is not used yet, so there is no code generated to fill its members
  3883. return base;
  3884. }
  3885. // -----------------------------------------------------------------------------------------------------------
  3886. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  3887. {
  3888. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3889. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  3890. boost::shared_ptr<const DataType> arg = params[base++];
  3891. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  3892. try { GenericConvert( in->XDim, arg, db ); break; }
  3893. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3894. } while(0);
  3895. do { // convert the 'YDim' argument
  3896. boost::shared_ptr<const DataType> arg = params[base++];
  3897. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  3898. try { GenericConvert( in->YDim, arg, db ); break; }
  3899. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3900. } while(0);
  3901. return base;
  3902. }
  3903. // -----------------------------------------------------------------------------------------------------------
  3904. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  3905. {
  3906. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  3907. // this data structure is not used yet, so there is no code generated to fill its members
  3908. return base;
  3909. }
  3910. // -----------------------------------------------------------------------------------------------------------
  3911. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  3912. {
  3913. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  3914. // this data structure is not used yet, so there is no code generated to fill its members
  3915. return base;
  3916. }
  3917. // -----------------------------------------------------------------------------------------------------------
  3918. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  3919. {
  3920. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  3921. // this data structure is not used yet, so there is no code generated to fill its members
  3922. return base;
  3923. }
  3924. // -----------------------------------------------------------------------------------------------------------
  3925. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  3926. {
  3927. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementComponent*>(in));
  3928. // this data structure is not used yet, so there is no code generated to fill its members
  3929. return base;
  3930. }
  3931. // -----------------------------------------------------------------------------------------------------------
  3932. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  3933. {
  3934. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3935. // this data structure is not used yet, so there is no code generated to fill its members
  3936. return base;
  3937. }
  3938. // -----------------------------------------------------------------------------------------------------------
  3939. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  3940. {
  3941. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  3942. // this data structure is not used yet, so there is no code generated to fill its members
  3943. return base;
  3944. }
  3945. // -----------------------------------------------------------------------------------------------------------
  3946. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  3947. {
  3948. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  3949. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  3950. }
  3951. // -----------------------------------------------------------------------------------------------------------
  3952. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  3953. {
  3954. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  3955. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDecomposes"); } do { // convert the 'RelatingObject' argument
  3956. boost::shared_ptr<const DataType> arg = params[base++];
  3957. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[0]=true; break; }
  3958. try { GenericConvert( in->RelatingObject, arg, db ); break; }
  3959. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDecomposes to be a `IfcObjectDefinition`")); }
  3960. } while(0);
  3961. do { // convert the 'RelatedObjects' argument
  3962. boost::shared_ptr<const DataType> arg = params[base++];
  3963. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDecomposes,2>::aux_is_derived[1]=true; break; }
  3964. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  3965. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDecomposes to be a `SET [1:?] OF IfcObjectDefinition`")); }
  3966. } while(0);
  3967. return base;
  3968. }
  3969. // -----------------------------------------------------------------------------------------------------------
  3970. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  3971. {
  3972. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  3973. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } return base;
  3974. }
  3975. // -----------------------------------------------------------------------------------------------------------
  3976. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  3977. {
  3978. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  3979. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  3980. }
  3981. // -----------------------------------------------------------------------------------------------------------
  3982. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  3983. {
  3984. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  3985. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  3986. boost::shared_ptr<const DataType> arg = params[base++];
  3987. try { GenericConvert( in->RelatedElements, arg, db ); break; }
  3988. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  3989. } while(0);
  3990. do { // convert the 'RelatingStructure' argument
  3991. boost::shared_ptr<const DataType> arg = params[base++];
  3992. try { GenericConvert( in->RelatingStructure, arg, db ); break; }
  3993. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialStructureElement`")); }
  3994. } while(0);
  3995. return base;
  3996. }
  3997. // -----------------------------------------------------------------------------------------------------------
  3998. template <> size_t GenericFill<IfcRelDefines>(const DB& db, const LIST& params, IfcRelDefines* in)
  3999. {
  4000. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4001. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRelDefines"); } do { // convert the 'RelatedObjects' argument
  4002. boost::shared_ptr<const DataType> arg = params[base++];
  4003. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDefines,1>::aux_is_derived[0]=true; break; }
  4004. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  4005. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDefines to be a `SET [1:?] OF IfcObject`")); }
  4006. } while(0);
  4007. return base;
  4008. }
  4009. // -----------------------------------------------------------------------------------------------------------
  4010. template <> size_t GenericFill<IfcRelDefinesByProperties>(const DB& db, const LIST& params, IfcRelDefinesByProperties* in)
  4011. {
  4012. size_t base = GenericFill(db,params,static_cast<IfcRelDefines*>(in));
  4013. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDefinesByProperties"); } do { // convert the 'RelatingPropertyDefinition' argument
  4014. boost::shared_ptr<const DataType> arg = params[base++];
  4015. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRelDefinesByProperties,1>::aux_is_derived[0]=true; break; }
  4016. try { GenericConvert( in->RelatingPropertyDefinition, arg, db ); break; }
  4017. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDefinesByProperties to be a `IfcPropertySetDefinition`")); }
  4018. } while(0);
  4019. return base;
  4020. }
  4021. // -----------------------------------------------------------------------------------------------------------
  4022. template <> size_t GenericFill<IfcRelFillsElement>(const DB& db, const LIST& params, IfcRelFillsElement* in)
  4023. {
  4024. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4025. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelFillsElement"); } do { // convert the 'RelatingOpeningElement' argument
  4026. boost::shared_ptr<const DataType> arg = params[base++];
  4027. try { GenericConvert( in->RelatingOpeningElement, arg, db ); break; }
  4028. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelFillsElement to be a `IfcOpeningElement`")); }
  4029. } while(0);
  4030. do { // convert the 'RelatedBuildingElement' argument
  4031. boost::shared_ptr<const DataType> arg = params[base++];
  4032. try { GenericConvert( in->RelatedBuildingElement, arg, db ); break; }
  4033. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelFillsElement to be a `IfcElement`")); }
  4034. } while(0);
  4035. return base;
  4036. }
  4037. // -----------------------------------------------------------------------------------------------------------
  4038. template <> size_t GenericFill<IfcRelOverridesProperties>(const DB& db, const LIST& params, IfcRelOverridesProperties* in)
  4039. {
  4040. size_t base = GenericFill(db,params,static_cast<IfcRelDefinesByProperties*>(in));
  4041. // this data structure is not used yet, so there is no code generated to fill its members
  4042. return base;
  4043. }
  4044. // -----------------------------------------------------------------------------------------------------------
  4045. template <> size_t GenericFill<IfcRelVoidsElement>(const DB& db, const LIST& params, IfcRelVoidsElement* in)
  4046. {
  4047. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4048. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelVoidsElement"); } do { // convert the 'RelatingBuildingElement' argument
  4049. boost::shared_ptr<const DataType> arg = params[base++];
  4050. try { GenericConvert( in->RelatingBuildingElement, arg, db ); break; }
  4051. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelVoidsElement to be a `IfcElement`")); }
  4052. } while(0);
  4053. do { // convert the 'RelatedOpeningElement' argument
  4054. boost::shared_ptr<const DataType> arg = params[base++];
  4055. try { GenericConvert( in->RelatedOpeningElement, arg, db ); break; }
  4056. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelVoidsElement to be a `IfcFeatureElementSubtraction`")); }
  4057. } while(0);
  4058. return base;
  4059. }
  4060. // -----------------------------------------------------------------------------------------------------------
  4061. template <> size_t GenericFill<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  4062. {
  4063. size_t base = 0;
  4064. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  4065. boost::shared_ptr<const DataType> arg = params[base++];
  4066. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  4067. try { GenericConvert( in->ContextOfItems, arg, db ); break; }
  4068. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  4069. } while(0);
  4070. do { // convert the 'RepresentationIdentifier' argument
  4071. boost::shared_ptr<const DataType> arg = params[base++];
  4072. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  4073. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4074. try { GenericConvert( in->RepresentationIdentifier, arg, db ); break; }
  4075. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  4076. } while(0);
  4077. do { // convert the 'RepresentationType' argument
  4078. boost::shared_ptr<const DataType> arg = params[base++];
  4079. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  4080. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4081. try { GenericConvert( in->RepresentationType, arg, db ); break; }
  4082. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  4083. } while(0);
  4084. do { // convert the 'Items' argument
  4085. boost::shared_ptr<const DataType> arg = params[base++];
  4086. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  4087. try { GenericConvert( in->Items, arg, db ); break; }
  4088. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  4089. } while(0);
  4090. return base;
  4091. }
  4092. // -----------------------------------------------------------------------------------------------------------
  4093. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4094. {
  4095. size_t base = 0;
  4096. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4097. boost::shared_ptr<const DataType> arg = params[base++];
  4098. try { GenericConvert( in->MappingOrigin, arg, db ); break; }
  4099. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4100. } while(0);
  4101. do { // convert the 'MappedRepresentation' argument
  4102. boost::shared_ptr<const DataType> arg = params[base++];
  4103. try { GenericConvert( in->MappedRepresentation, arg, db ); break; }
  4104. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4105. } while(0);
  4106. return base;
  4107. }
  4108. // -----------------------------------------------------------------------------------------------------------
  4109. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4110. {
  4111. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4112. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4113. boost::shared_ptr<const DataType> arg = params[base++];
  4114. try { GenericConvert( in->Axis, arg, db ); break; }
  4115. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4116. } while(0);
  4117. do { // convert the 'Angle' argument
  4118. boost::shared_ptr<const DataType> arg = params[base++];
  4119. try { GenericConvert( in->Angle, arg, db ); break; }
  4120. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4121. } while(0);
  4122. return base;
  4123. }
  4124. // -----------------------------------------------------------------------------------------------------------
  4125. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  4126. {
  4127. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4128. // this data structure is not used yet, so there is no code generated to fill its members
  4129. return base;
  4130. }
  4131. // -----------------------------------------------------------------------------------------------------------
  4132. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  4133. {
  4134. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4135. // this data structure is not used yet, so there is no code generated to fill its members
  4136. return base;
  4137. }
  4138. // -----------------------------------------------------------------------------------------------------------
  4139. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  4140. {
  4141. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4142. // this data structure is not used yet, so there is no code generated to fill its members
  4143. return base;
  4144. }
  4145. // -----------------------------------------------------------------------------------------------------------
  4146. template <> size_t GenericFill<IfcRoundedEdgeFeature>(const DB& db, const LIST& params, IfcRoundedEdgeFeature* in)
  4147. {
  4148. size_t base = GenericFill(db,params,static_cast<IfcEdgeFeature*>(in));
  4149. // this data structure is not used yet, so there is no code generated to fill its members
  4150. return base;
  4151. }
  4152. // -----------------------------------------------------------------------------------------------------------
  4153. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  4154. {
  4155. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  4156. // this data structure is not used yet, so there is no code generated to fill its members
  4157. return base;
  4158. }
  4159. // -----------------------------------------------------------------------------------------------------------
  4160. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  4161. {
  4162. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  4163. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  4164. boost::shared_ptr<const DataType> arg = params[base++];
  4165. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4166. try { GenericConvert( in->Prefix, arg, db ); break; }
  4167. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  4168. } while(0);
  4169. do { // convert the 'Name' argument
  4170. boost::shared_ptr<const DataType> arg = params[base++];
  4171. try { GenericConvert( in->Name, arg, db ); break; }
  4172. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  4173. } while(0);
  4174. return base;
  4175. }
  4176. // -----------------------------------------------------------------------------------------------------------
  4177. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  4178. {
  4179. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4180. // this data structure is not used yet, so there is no code generated to fill its members
  4181. return base;
  4182. }
  4183. // -----------------------------------------------------------------------------------------------------------
  4184. template <> size_t GenericFill<IfcScheduleTimeControl>(const DB& db, const LIST& params, IfcScheduleTimeControl* in)
  4185. {
  4186. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4187. // this data structure is not used yet, so there is no code generated to fill its members
  4188. return base;
  4189. }
  4190. // -----------------------------------------------------------------------------------------------------------
  4191. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  4192. {
  4193. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4194. // this data structure is not used yet, so there is no code generated to fill its members
  4195. return base;
  4196. }
  4197. // -----------------------------------------------------------------------------------------------------------
  4198. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  4199. {
  4200. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4201. // this data structure is not used yet, so there is no code generated to fill its members
  4202. return base;
  4203. }
  4204. // -----------------------------------------------------------------------------------------------------------
  4205. template <> size_t GenericFill<IfcServiceLife>(const DB& db, const LIST& params, IfcServiceLife* in)
  4206. {
  4207. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4208. // this data structure is not used yet, so there is no code generated to fill its members
  4209. return base;
  4210. }
  4211. // -----------------------------------------------------------------------------------------------------------
  4212. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  4213. {
  4214. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  4215. // this data structure is not used yet, so there is no code generated to fill its members
  4216. return base;
  4217. }
  4218. // -----------------------------------------------------------------------------------------------------------
  4219. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  4220. {
  4221. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  4222. // this data structure is not used yet, so there is no code generated to fill its members
  4223. return base;
  4224. }
  4225. // -----------------------------------------------------------------------------------------------------------
  4226. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  4227. {
  4228. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4229. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  4230. boost::shared_ptr<const DataType> arg = params[base++];
  4231. try { GenericConvert( in->SbsmBoundary, arg, db ); break; }
  4232. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  4233. } while(0);
  4234. return base;
  4235. }
  4236. // -----------------------------------------------------------------------------------------------------------
  4237. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  4238. {
  4239. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  4240. if (params.GetSize() < 14) { throw STEP::TypeError("expected 14 arguments to IfcSite"); } do { // convert the 'RefLatitude' argument
  4241. boost::shared_ptr<const DataType> arg = params[base++];
  4242. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4243. try { GenericConvert( in->RefLatitude, arg, db ); break; }
  4244. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  4245. } while(0);
  4246. do { // convert the 'RefLongitude' argument
  4247. boost::shared_ptr<const DataType> arg = params[base++];
  4248. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4249. try { GenericConvert( in->RefLongitude, arg, db ); break; }
  4250. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  4251. } while(0);
  4252. do { // convert the 'RefElevation' argument
  4253. boost::shared_ptr<const DataType> arg = params[base++];
  4254. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4255. try { GenericConvert( in->RefElevation, arg, db ); break; }
  4256. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcSite to be a `IfcLengthMeasure`")); }
  4257. } while(0);
  4258. do { // convert the 'LandTitleNumber' argument
  4259. boost::shared_ptr<const DataType> arg = params[base++];
  4260. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4261. try { GenericConvert( in->LandTitleNumber, arg, db ); break; }
  4262. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcSite to be a `IfcLabel`")); }
  4263. } while(0);
  4264. do { // convert the 'SiteAddress' argument
  4265. boost::shared_ptr<const DataType> arg = params[base++];
  4266. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4267. try { GenericConvert( in->SiteAddress, arg, db ); break; }
  4268. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 13 to IfcSite to be a `IfcPostalAddress`")); }
  4269. } while(0);
  4270. return base;
  4271. }
  4272. // -----------------------------------------------------------------------------------------------------------
  4273. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  4274. {
  4275. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4276. // this data structure is not used yet, so there is no code generated to fill its members
  4277. return base;
  4278. }
  4279. // -----------------------------------------------------------------------------------------------------------
  4280. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  4281. {
  4282. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4283. // this data structure is not used yet, so there is no code generated to fill its members
  4284. return base;
  4285. }
  4286. // -----------------------------------------------------------------------------------------------------------
  4287. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  4288. {
  4289. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  4290. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'InteriorOrExteriorSpace' argument
  4291. boost::shared_ptr<const DataType> arg = params[base++];
  4292. try { GenericConvert( in->InteriorOrExteriorSpace, arg, db ); break; }
  4293. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcInternalOrExternalEnum`")); }
  4294. } while(0);
  4295. do { // convert the 'ElevationWithFlooring' argument
  4296. boost::shared_ptr<const DataType> arg = params[base++];
  4297. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4298. try { GenericConvert( in->ElevationWithFlooring, arg, db ); break; }
  4299. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  4300. } while(0);
  4301. return base;
  4302. }
  4303. // -----------------------------------------------------------------------------------------------------------
  4304. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  4305. {
  4306. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4307. // this data structure is not used yet, so there is no code generated to fill its members
  4308. return base;
  4309. }
  4310. // -----------------------------------------------------------------------------------------------------------
  4311. template <> size_t GenericFill<IfcSpaceProgram>(const DB& db, const LIST& params, IfcSpaceProgram* in)
  4312. {
  4313. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4314. // this data structure is not used yet, so there is no code generated to fill its members
  4315. return base;
  4316. }
  4317. // -----------------------------------------------------------------------------------------------------------
  4318. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  4319. {
  4320. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  4321. // this data structure is not used yet, so there is no code generated to fill its members
  4322. return base;
  4323. }
  4324. // -----------------------------------------------------------------------------------------------------------
  4325. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  4326. {
  4327. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  4328. // this data structure is not used yet, so there is no code generated to fill its members
  4329. return base;
  4330. }
  4331. // -----------------------------------------------------------------------------------------------------------
  4332. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  4333. {
  4334. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4335. // this data structure is not used yet, so there is no code generated to fill its members
  4336. return base;
  4337. }
  4338. // -----------------------------------------------------------------------------------------------------------
  4339. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  4340. {
  4341. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4342. // this data structure is not used yet, so there is no code generated to fill its members
  4343. return base;
  4344. }
  4345. // -----------------------------------------------------------------------------------------------------------
  4346. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  4347. {
  4348. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4349. // this data structure is not used yet, so there is no code generated to fill its members
  4350. return base;
  4351. }
  4352. // -----------------------------------------------------------------------------------------------------------
  4353. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  4354. {
  4355. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4356. // this data structure is not used yet, so there is no code generated to fill its members
  4357. return base;
  4358. }
  4359. // -----------------------------------------------------------------------------------------------------------
  4360. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  4361. {
  4362. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4363. // this data structure is not used yet, so there is no code generated to fill its members
  4364. return base;
  4365. }
  4366. // -----------------------------------------------------------------------------------------------------------
  4367. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  4368. {
  4369. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  4370. // this data structure is not used yet, so there is no code generated to fill its members
  4371. return base;
  4372. }
  4373. // -----------------------------------------------------------------------------------------------------------
  4374. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  4375. {
  4376. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  4377. // this data structure is not used yet, so there is no code generated to fill its members
  4378. return base;
  4379. }
  4380. // -----------------------------------------------------------------------------------------------------------
  4381. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  4382. {
  4383. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  4384. // this data structure is not used yet, so there is no code generated to fill its members
  4385. return base;
  4386. }
  4387. // -----------------------------------------------------------------------------------------------------------
  4388. template <> size_t GenericFill<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  4389. {
  4390. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  4391. // this data structure is not used yet, so there is no code generated to fill its members
  4392. return base;
  4393. }
  4394. // -----------------------------------------------------------------------------------------------------------
  4395. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  4396. {
  4397. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  4398. // this data structure is not used yet, so there is no code generated to fill its members
  4399. return base;
  4400. }
  4401. // -----------------------------------------------------------------------------------------------------------
  4402. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  4403. {
  4404. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  4405. // this data structure is not used yet, so there is no code generated to fill its members
  4406. return base;
  4407. }
  4408. // -----------------------------------------------------------------------------------------------------------
  4409. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  4410. {
  4411. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  4412. // this data structure is not used yet, so there is no code generated to fill its members
  4413. return base;
  4414. }
  4415. // -----------------------------------------------------------------------------------------------------------
  4416. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  4417. {
  4418. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  4419. // this data structure is not used yet, so there is no code generated to fill its members
  4420. return base;
  4421. }
  4422. // -----------------------------------------------------------------------------------------------------------
  4423. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  4424. {
  4425. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  4426. // this data structure is not used yet, so there is no code generated to fill its members
  4427. return base;
  4428. }
  4429. // -----------------------------------------------------------------------------------------------------------
  4430. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  4431. {
  4432. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  4433. // this data structure is not used yet, so there is no code generated to fill its members
  4434. return base;
  4435. }
  4436. // -----------------------------------------------------------------------------------------------------------
  4437. template <> size_t GenericFill<IfcStructuralLinearActionVarying>(const DB& db, const LIST& params, IfcStructuralLinearActionVarying* in)
  4438. {
  4439. size_t base = GenericFill(db,params,static_cast<IfcStructuralLinearAction*>(in));
  4440. // this data structure is not used yet, so there is no code generated to fill its members
  4441. return base;
  4442. }
  4443. // -----------------------------------------------------------------------------------------------------------
  4444. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  4445. {
  4446. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4447. // this data structure is not used yet, so there is no code generated to fill its members
  4448. return base;
  4449. }
  4450. // -----------------------------------------------------------------------------------------------------------
  4451. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  4452. {
  4453. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  4454. // this data structure is not used yet, so there is no code generated to fill its members
  4455. return base;
  4456. }
  4457. // -----------------------------------------------------------------------------------------------------------
  4458. template <> size_t GenericFill<IfcStructuralPlanarActionVarying>(const DB& db, const LIST& params, IfcStructuralPlanarActionVarying* in)
  4459. {
  4460. size_t base = GenericFill(db,params,static_cast<IfcStructuralPlanarAction*>(in));
  4461. // this data structure is not used yet, so there is no code generated to fill its members
  4462. return base;
  4463. }
  4464. // -----------------------------------------------------------------------------------------------------------
  4465. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  4466. {
  4467. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  4468. // this data structure is not used yet, so there is no code generated to fill its members
  4469. return base;
  4470. }
  4471. // -----------------------------------------------------------------------------------------------------------
  4472. template <> size_t GenericFill<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  4473. {
  4474. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  4475. // this data structure is not used yet, so there is no code generated to fill its members
  4476. return base;
  4477. }
  4478. // -----------------------------------------------------------------------------------------------------------
  4479. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  4480. {
  4481. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  4482. // this data structure is not used yet, so there is no code generated to fill its members
  4483. return base;
  4484. }
  4485. // -----------------------------------------------------------------------------------------------------------
  4486. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  4487. {
  4488. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  4489. // this data structure is not used yet, so there is no code generated to fill its members
  4490. return base;
  4491. }
  4492. // -----------------------------------------------------------------------------------------------------------
  4493. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  4494. {
  4495. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  4496. // this data structure is not used yet, so there is no code generated to fill its members
  4497. return base;
  4498. }
  4499. // -----------------------------------------------------------------------------------------------------------
  4500. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  4501. {
  4502. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  4503. // this data structure is not used yet, so there is no code generated to fill its members
  4504. return base;
  4505. }
  4506. // -----------------------------------------------------------------------------------------------------------
  4507. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  4508. {
  4509. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  4510. // this data structure is not used yet, so there is no code generated to fill its members
  4511. return base;
  4512. }
  4513. // -----------------------------------------------------------------------------------------------------------
  4514. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  4515. {
  4516. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  4517. // this data structure is not used yet, so there is no code generated to fill its members
  4518. return base;
  4519. }
  4520. // -----------------------------------------------------------------------------------------------------------
  4521. template <> size_t GenericFill<IfcStructuredDimensionCallout>(const DB& db, const LIST& params, IfcStructuredDimensionCallout* in)
  4522. {
  4523. size_t base = GenericFill(db,params,static_cast<IfcDraughtingCallout*>(in));
  4524. // this data structure is not used yet, so there is no code generated to fill its members
  4525. return base;
  4526. }
  4527. // -----------------------------------------------------------------------------------------------------------
  4528. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  4529. {
  4530. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  4531. // this data structure is not used yet, so there is no code generated to fill its members
  4532. return base;
  4533. }
  4534. // -----------------------------------------------------------------------------------------------------------
  4535. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  4536. {
  4537. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  4538. // this data structure is not used yet, so there is no code generated to fill its members
  4539. return base;
  4540. }
  4541. // -----------------------------------------------------------------------------------------------------------
  4542. template <> size_t GenericFill<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  4543. {
  4544. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  4545. // this data structure is not used yet, so there is no code generated to fill its members
  4546. return base;
  4547. }
  4548. // -----------------------------------------------------------------------------------------------------------
  4549. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  4550. {
  4551. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4552. // this data structure is not used yet, so there is no code generated to fill its members
  4553. return base;
  4554. }
  4555. // -----------------------------------------------------------------------------------------------------------
  4556. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  4557. {
  4558. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4559. // this data structure is not used yet, so there is no code generated to fill its members
  4560. return base;
  4561. }
  4562. // -----------------------------------------------------------------------------------------------------------
  4563. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  4564. {
  4565. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  4566. // this data structure is not used yet, so there is no code generated to fill its members
  4567. return base;
  4568. }
  4569. // -----------------------------------------------------------------------------------------------------------
  4570. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  4571. {
  4572. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  4573. // this data structure is not used yet, so there is no code generated to fill its members
  4574. return base;
  4575. }
  4576. // -----------------------------------------------------------------------------------------------------------
  4577. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  4578. {
  4579. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  4580. // this data structure is not used yet, so there is no code generated to fill its members
  4581. return base;
  4582. }
  4583. // -----------------------------------------------------------------------------------------------------------
  4584. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  4585. {
  4586. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  4587. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  4588. boost::shared_ptr<const DataType> arg = params[base++];
  4589. try { GenericConvert( in->Side, arg, db ); break; }
  4590. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  4591. } while(0);
  4592. do { // convert the 'Styles' argument
  4593. boost::shared_ptr<const DataType> arg = params[base++];
  4594. try { GenericConvert( in->Styles, arg, db ); break; }
  4595. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  4596. } while(0);
  4597. return base;
  4598. }
  4599. // -----------------------------------------------------------------------------------------------------------
  4600. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  4601. {
  4602. size_t base = 0;
  4603. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  4604. boost::shared_ptr<const DataType> arg = params[base++];
  4605. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,1>::aux_is_derived[0]=true; break; }
  4606. try { GenericConvert( in->SurfaceColour, arg, db ); break; }
  4607. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  4608. } while(0);
  4609. return base;
  4610. }
  4611. // -----------------------------------------------------------------------------------------------------------
  4612. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  4613. {
  4614. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  4615. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'Transparency' argument
  4616. boost::shared_ptr<const DataType> arg = params[base++];
  4617. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4618. try { GenericConvert( in->Transparency, arg, db ); break; }
  4619. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleRendering to be a `IfcNormalisedRatioMeasure`")); }
  4620. } while(0);
  4621. do { // convert the 'DiffuseColour' argument
  4622. boost::shared_ptr<const DataType> arg = params[base++];
  4623. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4624. try { GenericConvert( in->DiffuseColour, arg, db ); break; }
  4625. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  4626. } while(0);
  4627. do { // convert the 'TransmissionColour' argument
  4628. boost::shared_ptr<const DataType> arg = params[base++];
  4629. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4630. try { GenericConvert( in->TransmissionColour, arg, db ); break; }
  4631. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  4632. } while(0);
  4633. do { // convert the 'DiffuseTransmissionColour' argument
  4634. boost::shared_ptr<const DataType> arg = params[base++];
  4635. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4636. try { GenericConvert( in->DiffuseTransmissionColour, arg, db ); break; }
  4637. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  4638. } while(0);
  4639. do { // convert the 'ReflectionColour' argument
  4640. boost::shared_ptr<const DataType> arg = params[base++];
  4641. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4642. try { GenericConvert( in->ReflectionColour, arg, db ); break; }
  4643. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  4644. } while(0);
  4645. do { // convert the 'SpecularColour' argument
  4646. boost::shared_ptr<const DataType> arg = params[base++];
  4647. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4648. try { GenericConvert( in->SpecularColour, arg, db ); break; }
  4649. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  4650. } while(0);
  4651. do { // convert the 'SpecularHighlight' argument
  4652. boost::shared_ptr<const DataType> arg = params[base++];
  4653. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4654. try { GenericConvert( in->SpecularHighlight, arg, db ); break; }
  4655. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  4656. } while(0);
  4657. do { // convert the 'ReflectanceMethod' argument
  4658. boost::shared_ptr<const DataType> arg = params[base++];
  4659. try { GenericConvert( in->ReflectanceMethod, arg, db ); break; }
  4660. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  4661. } while(0);
  4662. return base;
  4663. }
  4664. // -----------------------------------------------------------------------------------------------------------
  4665. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  4666. {
  4667. size_t base = 0;
  4668. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  4669. boost::shared_ptr<const DataType> arg = params[base++];
  4670. try { GenericConvert( in->Textures, arg, db ); break; }
  4671. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  4672. } while(0);
  4673. return base;
  4674. }
  4675. // -----------------------------------------------------------------------------------------------------------
  4676. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  4677. {
  4678. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  4679. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcSweptDiskSolid"); } do { // convert the 'Directrix' argument
  4680. boost::shared_ptr<const DataType> arg = params[base++];
  4681. try { GenericConvert( in->Directrix, arg, db ); break; }
  4682. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptDiskSolid to be a `IfcCurve`")); }
  4683. } while(0);
  4684. do { // convert the 'Radius' argument
  4685. boost::shared_ptr<const DataType> arg = params[base++];
  4686. try { GenericConvert( in->Radius, arg, db ); break; }
  4687. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  4688. } while(0);
  4689. do { // convert the 'InnerRadius' argument
  4690. boost::shared_ptr<const DataType> arg = params[base++];
  4691. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4692. try { GenericConvert( in->InnerRadius, arg, db ); break; }
  4693. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  4694. } while(0);
  4695. do { // convert the 'StartParam' argument
  4696. boost::shared_ptr<const DataType> arg = params[base++];
  4697. try { GenericConvert( in->StartParam, arg, db ); break; }
  4698. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  4699. } while(0);
  4700. do { // convert the 'EndParam' argument
  4701. boost::shared_ptr<const DataType> arg = params[base++];
  4702. try { GenericConvert( in->EndParam, arg, db ); break; }
  4703. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  4704. } while(0);
  4705. return base;
  4706. }
  4707. // -----------------------------------------------------------------------------------------------------------
  4708. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  4709. {
  4710. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4711. // this data structure is not used yet, so there is no code generated to fill its members
  4712. return base;
  4713. }
  4714. // -----------------------------------------------------------------------------------------------------------
  4715. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  4716. {
  4717. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  4718. // this data structure is not used yet, so there is no code generated to fill its members
  4719. return base;
  4720. }
  4721. // -----------------------------------------------------------------------------------------------------------
  4722. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  4723. {
  4724. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4725. // this data structure is not used yet, so there is no code generated to fill its members
  4726. return base;
  4727. }
  4728. // -----------------------------------------------------------------------------------------------------------
  4729. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  4730. {
  4731. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  4732. // this data structure is not used yet, so there is no code generated to fill its members
  4733. return base;
  4734. }
  4735. // -----------------------------------------------------------------------------------------------------------
  4736. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  4737. {
  4738. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4739. // this data structure is not used yet, so there is no code generated to fill its members
  4740. return base;
  4741. }
  4742. // -----------------------------------------------------------------------------------------------------------
  4743. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  4744. {
  4745. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4746. // this data structure is not used yet, so there is no code generated to fill its members
  4747. return base;
  4748. }
  4749. // -----------------------------------------------------------------------------------------------------------
  4750. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  4751. {
  4752. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4753. // this data structure is not used yet, so there is no code generated to fill its members
  4754. return base;
  4755. }
  4756. // -----------------------------------------------------------------------------------------------------------
  4757. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  4758. {
  4759. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  4760. // this data structure is not used yet, so there is no code generated to fill its members
  4761. return base;
  4762. }
  4763. // -----------------------------------------------------------------------------------------------------------
  4764. template <> size_t GenericFill<IfcTimeSeriesSchedule>(const DB& db, const LIST& params, IfcTimeSeriesSchedule* in)
  4765. {
  4766. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4767. // this data structure is not used yet, so there is no code generated to fill its members
  4768. return base;
  4769. }
  4770. // -----------------------------------------------------------------------------------------------------------
  4771. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  4772. {
  4773. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  4774. // this data structure is not used yet, so there is no code generated to fill its members
  4775. return base;
  4776. }
  4777. // -----------------------------------------------------------------------------------------------------------
  4778. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  4779. {
  4780. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4781. // this data structure is not used yet, so there is no code generated to fill its members
  4782. return base;
  4783. }
  4784. // -----------------------------------------------------------------------------------------------------------
  4785. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  4786. {
  4787. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4788. // this data structure is not used yet, so there is no code generated to fill its members
  4789. return base;
  4790. }
  4791. // -----------------------------------------------------------------------------------------------------------
  4792. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  4793. {
  4794. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  4795. // this data structure is not used yet, so there is no code generated to fill its members
  4796. return base;
  4797. }
  4798. // -----------------------------------------------------------------------------------------------------------
  4799. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  4800. {
  4801. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4802. // this data structure is not used yet, so there is no code generated to fill its members
  4803. return base;
  4804. }
  4805. // -----------------------------------------------------------------------------------------------------------
  4806. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  4807. {
  4808. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4809. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcTrimmedCurve"); } do { // convert the 'BasisCurve' argument
  4810. boost::shared_ptr<const DataType> arg = params[base++];
  4811. try { GenericConvert( in->BasisCurve, arg, db ); break; }
  4812. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcTrimmedCurve to be a `IfcCurve`")); }
  4813. } while(0);
  4814. do { // convert the 'Trim1' argument
  4815. boost::shared_ptr<const DataType> arg = params[base++];
  4816. try { GenericConvert( in->Trim1, arg, db ); break; }
  4817. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4818. } while(0);
  4819. do { // convert the 'Trim2' argument
  4820. boost::shared_ptr<const DataType> arg = params[base++];
  4821. try { GenericConvert( in->Trim2, arg, db ); break; }
  4822. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  4823. } while(0);
  4824. do { // convert the 'SenseAgreement' argument
  4825. boost::shared_ptr<const DataType> arg = params[base++];
  4826. try { GenericConvert( in->SenseAgreement, arg, db ); break; }
  4827. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcTrimmedCurve to be a `BOOLEAN`")); }
  4828. } while(0);
  4829. do { // convert the 'MasterRepresentation' argument
  4830. boost::shared_ptr<const DataType> arg = params[base++];
  4831. try { GenericConvert( in->MasterRepresentation, arg, db ); break; }
  4832. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcTrimmedCurve to be a `IfcTrimmingPreference`")); }
  4833. } while(0);
  4834. return base;
  4835. }
  4836. // -----------------------------------------------------------------------------------------------------------
  4837. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  4838. {
  4839. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4840. // this data structure is not used yet, so there is no code generated to fill its members
  4841. return base;
  4842. }
  4843. // -----------------------------------------------------------------------------------------------------------
  4844. template <> size_t GenericFill<IfcTwoDirectionRepeatFactor>(const DB& db, const LIST& params, IfcTwoDirectionRepeatFactor* in)
  4845. {
  4846. size_t base = GenericFill(db,params,static_cast<IfcOneDirectionRepeatFactor*>(in));
  4847. // this data structure is not used yet, so there is no code generated to fill its members
  4848. return base;
  4849. }
  4850. // -----------------------------------------------------------------------------------------------------------
  4851. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  4852. {
  4853. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4854. // this data structure is not used yet, so there is no code generated to fill its members
  4855. return base;
  4856. }
  4857. // -----------------------------------------------------------------------------------------------------------
  4858. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  4859. {
  4860. size_t base = 0;
  4861. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  4862. boost::shared_ptr<const DataType> arg = params[base++];
  4863. try { GenericConvert( in->Units, arg, db ); break; }
  4864. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  4865. } while(0);
  4866. return base;
  4867. }
  4868. // -----------------------------------------------------------------------------------------------------------
  4869. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  4870. {
  4871. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4872. // this data structure is not used yet, so there is no code generated to fill its members
  4873. return base;
  4874. }
  4875. // -----------------------------------------------------------------------------------------------------------
  4876. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  4877. {
  4878. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4879. // this data structure is not used yet, so there is no code generated to fill its members
  4880. return base;
  4881. }
  4882. // -----------------------------------------------------------------------------------------------------------
  4883. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  4884. {
  4885. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4886. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcVector"); } do { // convert the 'Orientation' argument
  4887. boost::shared_ptr<const DataType> arg = params[base++];
  4888. try { GenericConvert( in->Orientation, arg, db ); break; }
  4889. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcVector to be a `IfcDirection`")); }
  4890. } while(0);
  4891. do { // convert the 'Magnitude' argument
  4892. boost::shared_ptr<const DataType> arg = params[base++];
  4893. try { GenericConvert( in->Magnitude, arg, db ); break; }
  4894. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcVector to be a `IfcLengthMeasure`")); }
  4895. } while(0);
  4896. return base;
  4897. }
  4898. // -----------------------------------------------------------------------------------------------------------
  4899. template <> size_t GenericFill<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  4900. {
  4901. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  4902. // this data structure is not used yet, so there is no code generated to fill its members
  4903. return base;
  4904. }
  4905. // -----------------------------------------------------------------------------------------------------------
  4906. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  4907. {
  4908. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  4909. // this data structure is not used yet, so there is no code generated to fill its members
  4910. return base;
  4911. }
  4912. // -----------------------------------------------------------------------------------------------------------
  4913. template <> size_t GenericFill<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  4914. {
  4915. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(in));
  4916. // this data structure is not used yet, so there is no code generated to fill its members
  4917. return base;
  4918. }
  4919. // -----------------------------------------------------------------------------------------------------------
  4920. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  4921. {
  4922. size_t base = GenericFill(db,params,static_cast<IfcDiscreteAccessoryType*>(in));
  4923. // this data structure is not used yet, so there is no code generated to fill its members
  4924. return base;
  4925. }
  4926. // -----------------------------------------------------------------------------------------------------------
  4927. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  4928. {
  4929. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  4930. // this data structure is not used yet, so there is no code generated to fill its members
  4931. return base;
  4932. }
  4933. // -----------------------------------------------------------------------------------------------------------
  4934. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  4935. {
  4936. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4937. // this data structure is not used yet, so there is no code generated to fill its members
  4938. return base;
  4939. }
  4940. // -----------------------------------------------------------------------------------------------------------
  4941. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  4942. {
  4943. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  4944. // this data structure is not used yet, so there is no code generated to fill its members
  4945. return base;
  4946. }
  4947. // -----------------------------------------------------------------------------------------------------------
  4948. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  4949. {
  4950. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4951. // this data structure is not used yet, so there is no code generated to fill its members
  4952. return base;
  4953. }
  4954. // -----------------------------------------------------------------------------------------------------------
  4955. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  4956. {
  4957. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4958. // this data structure is not used yet, so there is no code generated to fill its members
  4959. return base;
  4960. }
  4961. // -----------------------------------------------------------------------------------------------------------
  4962. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  4963. {
  4964. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4965. // this data structure is not used yet, so there is no code generated to fill its members
  4966. return base;
  4967. }
  4968. // -----------------------------------------------------------------------------------------------------------
  4969. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  4970. {
  4971. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  4972. // this data structure is not used yet, so there is no code generated to fill its members
  4973. return base;
  4974. }
  4975. // -----------------------------------------------------------------------------------------------------------
  4976. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  4977. {
  4978. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4979. // this data structure is not used yet, so there is no code generated to fill its members
  4980. return base;
  4981. }
  4982. // -----------------------------------------------------------------------------------------------------------
  4983. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  4984. {
  4985. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  4986. // this data structure is not used yet, so there is no code generated to fill its members
  4987. return base;
  4988. }
  4989. // -----------------------------------------------------------------------------------------------------------
  4990. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  4991. {
  4992. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  4993. // this data structure is not used yet, so there is no code generated to fill its members
  4994. return base;
  4995. }
  4996. // -----------------------------------------------------------------------------------------------------------
  4997. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  4998. {
  4999. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5000. // this data structure is not used yet, so there is no code generated to fill its members
  5001. return base;
  5002. }
  5003. // -----------------------------------------------------------------------------------------------------------
  5004. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  5005. {
  5006. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  5007. // this data structure is not used yet, so there is no code generated to fill its members
  5008. return base;
  5009. }
  5010. } // ! STEP
  5011. } // ! Assimp
  5012. #endif