2
0

IFCReaderGen_4.cpp 395 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207
  1. /*
  2. Open Asset Import Library (ASSIMP)
  3. ----------------------------------------------------------------------
  4. Copyright (c) 2006-2020, 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. #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER
  35. #include "AssimpPCH.h"
  36. #include "IFCReaderGen_4.h"
  37. namespace Assimp {
  38. using namespace IFC;
  39. using namespace ::Assimp::IFC::Schema_4;
  40. namespace {
  41. typedef EXPRESS::ConversionSchema::SchemaEntry SchemaEntry;
  42. const SchemaEntry schema_raw[] = {
  43. SchemaEntry("ifcstrippedoptional",NULL )
  44. , SchemaEntry("ifcabsorbeddosemeasure",NULL )
  45. , SchemaEntry("ifcaccelerationmeasure",NULL )
  46. , SchemaEntry("ifcamountofsubstancemeasure",NULL )
  47. , SchemaEntry("ifcangularvelocitymeasure",NULL )
  48. , SchemaEntry("ifcarcindex",NULL )
  49. , SchemaEntry("ifcareadensitymeasure",NULL )
  50. , SchemaEntry("ifcareameasure",NULL )
  51. , SchemaEntry("ifcbinary",NULL )
  52. , SchemaEntry("ifcboolean",NULL )
  53. , SchemaEntry("ifcboxalignment",NULL )
  54. , SchemaEntry("ifccardinalpointreference",NULL )
  55. , SchemaEntry("ifccomplexnumber",NULL )
  56. , SchemaEntry("ifccompoundplaneanglemeasure",NULL )
  57. , SchemaEntry("ifccontextdependentmeasure",NULL )
  58. , SchemaEntry("ifccountmeasure",NULL )
  59. , SchemaEntry("ifccurvaturemeasure",NULL )
  60. , SchemaEntry("ifcdate",NULL )
  61. , SchemaEntry("ifcdatetime",NULL )
  62. , SchemaEntry("ifcdayinmonthnumber",NULL )
  63. , SchemaEntry("ifcdayinweeknumber",NULL )
  64. , SchemaEntry("ifcdescriptivemeasure",NULL )
  65. , SchemaEntry("ifcdimensioncount",NULL )
  66. , SchemaEntry("ifcdoseequivalentmeasure",NULL )
  67. , SchemaEntry("ifcduration",NULL )
  68. , SchemaEntry("ifcdynamicviscositymeasure",NULL )
  69. , SchemaEntry("ifcelectriccapacitancemeasure",NULL )
  70. , SchemaEntry("ifcelectricchargemeasure",NULL )
  71. , SchemaEntry("ifcelectricconductancemeasure",NULL )
  72. , SchemaEntry("ifcelectriccurrentmeasure",NULL )
  73. , SchemaEntry("ifcelectricresistancemeasure",NULL )
  74. , SchemaEntry("ifcelectricvoltagemeasure",NULL )
  75. , SchemaEntry("ifcenergymeasure",NULL )
  76. , SchemaEntry("ifcfontstyle",NULL )
  77. , SchemaEntry("ifcfontvariant",NULL )
  78. , SchemaEntry("ifcfontweight",NULL )
  79. , SchemaEntry("ifcforcemeasure",NULL )
  80. , SchemaEntry("ifcfrequencymeasure",NULL )
  81. , SchemaEntry("ifcgloballyuniqueid",NULL )
  82. , SchemaEntry("ifcheatfluxdensitymeasure",NULL )
  83. , SchemaEntry("ifcheatingvaluemeasure",NULL )
  84. , SchemaEntry("ifcidentifier",NULL )
  85. , SchemaEntry("ifcilluminancemeasure",NULL )
  86. , SchemaEntry("ifcinductancemeasure",NULL )
  87. , SchemaEntry("ifcinteger",NULL )
  88. , SchemaEntry("ifcintegercountratemeasure",NULL )
  89. , SchemaEntry("ifcionconcentrationmeasure",NULL )
  90. , SchemaEntry("ifcisothermalmoisturecapacitymeasure",NULL )
  91. , SchemaEntry("ifckinematicviscositymeasure",NULL )
  92. , SchemaEntry("ifclabel",NULL )
  93. , SchemaEntry("ifclanguageid",NULL )
  94. , SchemaEntry("ifclengthmeasure",NULL )
  95. , SchemaEntry("ifclineindex",NULL )
  96. , SchemaEntry("ifclinearforcemeasure",NULL )
  97. , SchemaEntry("ifclinearmomentmeasure",NULL )
  98. , SchemaEntry("ifclinearstiffnessmeasure",NULL )
  99. , SchemaEntry("ifclinearvelocitymeasure",NULL )
  100. , SchemaEntry("ifclogical",NULL )
  101. , SchemaEntry("ifcluminousfluxmeasure",NULL )
  102. , SchemaEntry("ifcluminousintensitydistributionmeasure",NULL )
  103. , SchemaEntry("ifcluminousintensitymeasure",NULL )
  104. , SchemaEntry("ifcmagneticfluxdensitymeasure",NULL )
  105. , SchemaEntry("ifcmagneticfluxmeasure",NULL )
  106. , SchemaEntry("ifcmassdensitymeasure",NULL )
  107. , SchemaEntry("ifcmassflowratemeasure",NULL )
  108. , SchemaEntry("ifcmassmeasure",NULL )
  109. , SchemaEntry("ifcmassperlengthmeasure",NULL )
  110. , SchemaEntry("ifcmodulusofelasticitymeasure",NULL )
  111. , SchemaEntry("ifcmodulusoflinearsubgradereactionmeasure",NULL )
  112. , SchemaEntry("ifcmodulusofrotationalsubgradereactionmeasure",NULL )
  113. , SchemaEntry("ifcmodulusofsubgradereactionmeasure",NULL )
  114. , SchemaEntry("ifcmoisturediffusivitymeasure",NULL )
  115. , SchemaEntry("ifcmolecularweightmeasure",NULL )
  116. , SchemaEntry("ifcmomentofinertiameasure",NULL )
  117. , SchemaEntry("ifcmonetarymeasure",NULL )
  118. , SchemaEntry("ifcmonthinyearnumber",NULL )
  119. , SchemaEntry("ifcnonnegativelengthmeasure",NULL )
  120. , SchemaEntry("ifcnormalisedratiomeasure",NULL )
  121. , SchemaEntry("ifcnumericmeasure",NULL )
  122. , SchemaEntry("ifcphmeasure",NULL )
  123. , SchemaEntry("ifcparametervalue",NULL )
  124. , SchemaEntry("ifcplanarforcemeasure",NULL )
  125. , SchemaEntry("ifcplaneanglemeasure",NULL )
  126. , SchemaEntry("ifcpositiveinteger",NULL )
  127. , SchemaEntry("ifcpositivelengthmeasure",NULL )
  128. , SchemaEntry("ifcpositiveplaneanglemeasure",NULL )
  129. , SchemaEntry("ifcpositiveratiomeasure",NULL )
  130. , SchemaEntry("ifcpowermeasure",NULL )
  131. , SchemaEntry("ifcpresentabletext",NULL )
  132. , SchemaEntry("ifcpressuremeasure",NULL )
  133. , SchemaEntry("ifcpropertysetdefinitionset",NULL )
  134. , SchemaEntry("ifcradioactivitymeasure",NULL )
  135. , SchemaEntry("ifcratiomeasure",NULL )
  136. , SchemaEntry("ifcreal",NULL )
  137. , SchemaEntry("ifcrotationalfrequencymeasure",NULL )
  138. , SchemaEntry("ifcrotationalmassmeasure",NULL )
  139. , SchemaEntry("ifcrotationalstiffnessmeasure",NULL )
  140. , SchemaEntry("ifcsectionmodulusmeasure",NULL )
  141. , SchemaEntry("ifcsectionalareaintegralmeasure",NULL )
  142. , SchemaEntry("ifcshearmodulusmeasure",NULL )
  143. , SchemaEntry("ifcsolidanglemeasure",NULL )
  144. , SchemaEntry("ifcsoundpowerlevelmeasure",NULL )
  145. , SchemaEntry("ifcsoundpowermeasure",NULL )
  146. , SchemaEntry("ifcsoundpressurelevelmeasure",NULL )
  147. , SchemaEntry("ifcsoundpressuremeasure",NULL )
  148. , SchemaEntry("ifcspecificheatcapacitymeasure",NULL )
  149. , SchemaEntry("ifcspecularexponent",NULL )
  150. , SchemaEntry("ifcspecularroughness",NULL )
  151. , SchemaEntry("ifctemperaturegradientmeasure",NULL )
  152. , SchemaEntry("ifctemperaturerateofchangemeasure",NULL )
  153. , SchemaEntry("ifctext",NULL )
  154. , SchemaEntry("ifctextalignment",NULL )
  155. , SchemaEntry("ifctextdecoration",NULL )
  156. , SchemaEntry("ifctextfontname",NULL )
  157. , SchemaEntry("ifctexttransformation",NULL )
  158. , SchemaEntry("ifcthermaladmittancemeasure",NULL )
  159. , SchemaEntry("ifcthermalconductivitymeasure",NULL )
  160. , SchemaEntry("ifcthermalexpansioncoefficientmeasure",NULL )
  161. , SchemaEntry("ifcthermalresistancemeasure",NULL )
  162. , SchemaEntry("ifcthermaltransmittancemeasure",NULL )
  163. , SchemaEntry("ifcthermodynamictemperaturemeasure",NULL )
  164. , SchemaEntry("ifctime",NULL )
  165. , SchemaEntry("ifctimemeasure",NULL )
  166. , SchemaEntry("ifctimestamp",NULL )
  167. , SchemaEntry("ifctorquemeasure",NULL )
  168. , SchemaEntry("ifcurireference",NULL )
  169. , SchemaEntry("ifcvaporpermeabilitymeasure",NULL )
  170. , SchemaEntry("ifcvolumemeasure",NULL )
  171. , SchemaEntry("ifcvolumetricflowratemeasure",NULL )
  172. , SchemaEntry("ifcwarpingconstantmeasure",NULL )
  173. , SchemaEntry("ifcwarpingmomentmeasure",NULL )
  174. , SchemaEntry("ifcactionrequesttypeenum",NULL )
  175. , SchemaEntry("ifcactionsourcetypeenum",NULL )
  176. , SchemaEntry("ifcactiontypeenum",NULL )
  177. , SchemaEntry("ifcactuatortypeenum",NULL )
  178. , SchemaEntry("ifcaddresstypeenum",NULL )
  179. , SchemaEntry("ifcairterminalboxtypeenum",NULL )
  180. , SchemaEntry("ifcairterminaltypeenum",NULL )
  181. , SchemaEntry("ifcairtoairheatrecoverytypeenum",NULL )
  182. , SchemaEntry("ifcalarmtypeenum",NULL )
  183. , SchemaEntry("ifcanalysismodeltypeenum",NULL )
  184. , SchemaEntry("ifcanalysistheorytypeenum",NULL )
  185. , SchemaEntry("ifcarithmeticoperatorenum",NULL )
  186. , SchemaEntry("ifcassemblyplaceenum",NULL )
  187. , SchemaEntry("ifcaudiovisualappliancetypeenum",NULL )
  188. , SchemaEntry("ifcbsplinecurveform",NULL )
  189. , SchemaEntry("ifcbsplinesurfaceform",NULL )
  190. , SchemaEntry("ifcbeamtypeenum",NULL )
  191. , SchemaEntry("ifcbenchmarkenum",NULL )
  192. , SchemaEntry("ifcboilertypeenum",NULL )
  193. , SchemaEntry("ifcbooleanoperator",NULL )
  194. , SchemaEntry("ifcbuildingelementparttypeenum",NULL )
  195. , SchemaEntry("ifcbuildingelementproxytypeenum",NULL )
  196. , SchemaEntry("ifcbuildingsystemtypeenum",NULL )
  197. , SchemaEntry("ifcburnertypeenum",NULL )
  198. , SchemaEntry("ifccablecarrierfittingtypeenum",NULL )
  199. , SchemaEntry("ifccablecarriersegmenttypeenum",NULL )
  200. , SchemaEntry("ifccablefittingtypeenum",NULL )
  201. , SchemaEntry("ifccablesegmenttypeenum",NULL )
  202. , SchemaEntry("ifcchangeactionenum",NULL )
  203. , SchemaEntry("ifcchillertypeenum",NULL )
  204. , SchemaEntry("ifcchimneytypeenum",NULL )
  205. , SchemaEntry("ifccoiltypeenum",NULL )
  206. , SchemaEntry("ifccolumntypeenum",NULL )
  207. , SchemaEntry("ifccommunicationsappliancetypeenum",NULL )
  208. , SchemaEntry("ifccomplexpropertytemplatetypeenum",NULL )
  209. , SchemaEntry("ifccompressortypeenum",NULL )
  210. , SchemaEntry("ifccondensertypeenum",NULL )
  211. , SchemaEntry("ifcconnectiontypeenum",NULL )
  212. , SchemaEntry("ifcconstraintenum",NULL )
  213. , SchemaEntry("ifcconstructionequipmentresourcetypeenum",NULL )
  214. , SchemaEntry("ifcconstructionmaterialresourcetypeenum",NULL )
  215. , SchemaEntry("ifcconstructionproductresourcetypeenum",NULL )
  216. , SchemaEntry("ifccontrollertypeenum",NULL )
  217. , SchemaEntry("ifccooledbeamtypeenum",NULL )
  218. , SchemaEntry("ifccoolingtowertypeenum",NULL )
  219. , SchemaEntry("ifccostitemtypeenum",NULL )
  220. , SchemaEntry("ifccostscheduletypeenum",NULL )
  221. , SchemaEntry("ifccoveringtypeenum",NULL )
  222. , SchemaEntry("ifccrewresourcetypeenum",NULL )
  223. , SchemaEntry("ifccurtainwalltypeenum",NULL )
  224. , SchemaEntry("ifccurveinterpolationenum",NULL )
  225. , SchemaEntry("ifcdampertypeenum",NULL )
  226. , SchemaEntry("ifcdataoriginenum",NULL )
  227. , SchemaEntry("ifcderivedunitenum",NULL )
  228. , SchemaEntry("ifcdirectionsenseenum",NULL )
  229. , SchemaEntry("ifcdiscreteaccessorytypeenum",NULL )
  230. , SchemaEntry("ifcdistributionchamberelementtypeenum",NULL )
  231. , SchemaEntry("ifcdistributionporttypeenum",NULL )
  232. , SchemaEntry("ifcdistributionsystemenum",NULL )
  233. , SchemaEntry("ifcdocumentconfidentialityenum",NULL )
  234. , SchemaEntry("ifcdocumentstatusenum",NULL )
  235. , SchemaEntry("ifcdoorpaneloperationenum",NULL )
  236. , SchemaEntry("ifcdoorpanelpositionenum",NULL )
  237. , SchemaEntry("ifcdoorstyleconstructionenum",NULL )
  238. , SchemaEntry("ifcdoorstyleoperationenum",NULL )
  239. , SchemaEntry("ifcdoortypeenum",NULL )
  240. , SchemaEntry("ifcdoortypeoperationenum",NULL )
  241. , SchemaEntry("ifcductfittingtypeenum",NULL )
  242. , SchemaEntry("ifcductsegmenttypeenum",NULL )
  243. , SchemaEntry("ifcductsilencertypeenum",NULL )
  244. , SchemaEntry("ifcelectricappliancetypeenum",NULL )
  245. , SchemaEntry("ifcelectricdistributionboardtypeenum",NULL )
  246. , SchemaEntry("ifcelectricflowstoragedevicetypeenum",NULL )
  247. , SchemaEntry("ifcelectricgeneratortypeenum",NULL )
  248. , SchemaEntry("ifcelectricmotortypeenum",NULL )
  249. , SchemaEntry("ifcelectrictimecontroltypeenum",NULL )
  250. , SchemaEntry("ifcelementassemblytypeenum",NULL )
  251. , SchemaEntry("ifcelementcompositionenum",NULL )
  252. , SchemaEntry("ifcenginetypeenum",NULL )
  253. , SchemaEntry("ifcevaporativecoolertypeenum",NULL )
  254. , SchemaEntry("ifcevaporatortypeenum",NULL )
  255. , SchemaEntry("ifceventtriggertypeenum",NULL )
  256. , SchemaEntry("ifceventtypeenum",NULL )
  257. , SchemaEntry("ifcexternalspatialelementtypeenum",NULL )
  258. , SchemaEntry("ifcfantypeenum",NULL )
  259. , SchemaEntry("ifcfastenertypeenum",NULL )
  260. , SchemaEntry("ifcfiltertypeenum",NULL )
  261. , SchemaEntry("ifcfiresuppressionterminaltypeenum",NULL )
  262. , SchemaEntry("ifcflowdirectionenum",NULL )
  263. , SchemaEntry("ifcflowinstrumenttypeenum",NULL )
  264. , SchemaEntry("ifcflowmetertypeenum",NULL )
  265. , SchemaEntry("ifcfootingtypeenum",NULL )
  266. , SchemaEntry("ifcfurnituretypeenum",NULL )
  267. , SchemaEntry("ifcgeographicelementtypeenum",NULL )
  268. , SchemaEntry("ifcgeometricprojectionenum",NULL )
  269. , SchemaEntry("ifcglobalorlocalenum",NULL )
  270. , SchemaEntry("ifcgridtypeenum",NULL )
  271. , SchemaEntry("ifcheatexchangertypeenum",NULL )
  272. , SchemaEntry("ifchumidifiertypeenum",NULL )
  273. , SchemaEntry("ifcinterceptortypeenum",NULL )
  274. , SchemaEntry("ifcinternalorexternalenum",NULL )
  275. , SchemaEntry("ifcinventorytypeenum",NULL )
  276. , SchemaEntry("ifcjunctionboxtypeenum",NULL )
  277. , SchemaEntry("ifcknottype",NULL )
  278. , SchemaEntry("ifclaborresourcetypeenum",NULL )
  279. , SchemaEntry("ifclamptypeenum",NULL )
  280. , SchemaEntry("ifclayersetdirectionenum",NULL )
  281. , SchemaEntry("ifclightdistributioncurveenum",NULL )
  282. , SchemaEntry("ifclightemissionsourceenum",NULL )
  283. , SchemaEntry("ifclightfixturetypeenum",NULL )
  284. , SchemaEntry("ifcloadgrouptypeenum",NULL )
  285. , SchemaEntry("ifclogicaloperatorenum",NULL )
  286. , SchemaEntry("ifcmechanicalfastenertypeenum",NULL )
  287. , SchemaEntry("ifcmedicaldevicetypeenum",NULL )
  288. , SchemaEntry("ifcmembertypeenum",NULL )
  289. , SchemaEntry("ifcmotorconnectiontypeenum",NULL )
  290. , SchemaEntry("ifcnullstyle",NULL )
  291. , SchemaEntry("ifcobjecttypeenum",NULL )
  292. , SchemaEntry("ifcobjectiveenum",NULL )
  293. , SchemaEntry("ifcoccupanttypeenum",NULL )
  294. , SchemaEntry("ifcopeningelementtypeenum",NULL )
  295. , SchemaEntry("ifcoutlettypeenum",NULL )
  296. , SchemaEntry("ifcperformancehistorytypeenum",NULL )
  297. , SchemaEntry("ifcpermeablecoveringoperationenum",NULL )
  298. , SchemaEntry("ifcpermittypeenum",NULL )
  299. , SchemaEntry("ifcphysicalorvirtualenum",NULL )
  300. , SchemaEntry("ifcpileconstructionenum",NULL )
  301. , SchemaEntry("ifcpiletypeenum",NULL )
  302. , SchemaEntry("ifcpipefittingtypeenum",NULL )
  303. , SchemaEntry("ifcpipesegmenttypeenum",NULL )
  304. , SchemaEntry("ifcplatetypeenum",NULL )
  305. , SchemaEntry("ifcpreferredsurfacecurverepresentation",NULL )
  306. , SchemaEntry("ifcproceduretypeenum",NULL )
  307. , SchemaEntry("ifcprofiletypeenum",NULL )
  308. , SchemaEntry("ifcprojectordertypeenum",NULL )
  309. , SchemaEntry("ifcprojectedortruelengthenum",NULL )
  310. , SchemaEntry("ifcprojectionelementtypeenum",NULL )
  311. , SchemaEntry("ifcpropertysettemplatetypeenum",NULL )
  312. , SchemaEntry("ifcprotectivedevicetrippingunittypeenum",NULL )
  313. , SchemaEntry("ifcprotectivedevicetypeenum",NULL )
  314. , SchemaEntry("ifcpumptypeenum",NULL )
  315. , SchemaEntry("ifcrailingtypeenum",NULL )
  316. , SchemaEntry("ifcrampflighttypeenum",NULL )
  317. , SchemaEntry("ifcramptypeenum",NULL )
  318. , SchemaEntry("ifcrecurrencetypeenum",NULL )
  319. , SchemaEntry("ifcreflectancemethodenum",NULL )
  320. , SchemaEntry("ifcreinforcingbarroleenum",NULL )
  321. , SchemaEntry("ifcreinforcingbarsurfaceenum",NULL )
  322. , SchemaEntry("ifcreinforcingbartypeenum",NULL )
  323. , SchemaEntry("ifcreinforcingmeshtypeenum",NULL )
  324. , SchemaEntry("ifcroleenum",NULL )
  325. , SchemaEntry("ifcrooftypeenum",NULL )
  326. , SchemaEntry("ifcsiprefix",NULL )
  327. , SchemaEntry("ifcsiunitname",NULL )
  328. , SchemaEntry("ifcsanitaryterminaltypeenum",NULL )
  329. , SchemaEntry("ifcsectiontypeenum",NULL )
  330. , SchemaEntry("ifcsensortypeenum",NULL )
  331. , SchemaEntry("ifcsequenceenum",NULL )
  332. , SchemaEntry("ifcshadingdevicetypeenum",NULL )
  333. , SchemaEntry("ifcsimplepropertytemplatetypeenum",NULL )
  334. , SchemaEntry("ifcslabtypeenum",NULL )
  335. , SchemaEntry("ifcsolardevicetypeenum",NULL )
  336. , SchemaEntry("ifcspaceheatertypeenum",NULL )
  337. , SchemaEntry("ifcspacetypeenum",NULL )
  338. , SchemaEntry("ifcspatialzonetypeenum",NULL )
  339. , SchemaEntry("ifcstackterminaltypeenum",NULL )
  340. , SchemaEntry("ifcstairflighttypeenum",NULL )
  341. , SchemaEntry("ifcstairtypeenum",NULL )
  342. , SchemaEntry("ifcstateenum",NULL )
  343. , SchemaEntry("ifcstructuralcurveactivitytypeenum",NULL )
  344. , SchemaEntry("ifcstructuralcurvemembertypeenum",NULL )
  345. , SchemaEntry("ifcstructuralsurfaceactivitytypeenum",NULL )
  346. , SchemaEntry("ifcstructuralsurfacemembertypeenum",NULL )
  347. , SchemaEntry("ifcsubcontractresourcetypeenum",NULL )
  348. , SchemaEntry("ifcsurfacefeaturetypeenum",NULL )
  349. , SchemaEntry("ifcsurfaceside",NULL )
  350. , SchemaEntry("ifcswitchingdevicetypeenum",NULL )
  351. , SchemaEntry("ifcsystemfurnitureelementtypeenum",NULL )
  352. , SchemaEntry("ifctanktypeenum",NULL )
  353. , SchemaEntry("ifctaskdurationenum",NULL )
  354. , SchemaEntry("ifctasktypeenum",NULL )
  355. , SchemaEntry("ifctendonanchortypeenum",NULL )
  356. , SchemaEntry("ifctendontypeenum",NULL )
  357. , SchemaEntry("ifctextpath",NULL )
  358. , SchemaEntry("ifctimeseriesdatatypeenum",NULL )
  359. , SchemaEntry("ifctransformertypeenum",NULL )
  360. , SchemaEntry("ifctransitioncode",NULL )
  361. , SchemaEntry("ifctransportelementtypeenum",NULL )
  362. , SchemaEntry("ifctrimmingpreference",NULL )
  363. , SchemaEntry("ifctubebundletypeenum",NULL )
  364. , SchemaEntry("ifcunitenum",NULL )
  365. , SchemaEntry("ifcunitarycontrolelementtypeenum",NULL )
  366. , SchemaEntry("ifcunitaryequipmenttypeenum",NULL )
  367. , SchemaEntry("ifcvalvetypeenum",NULL )
  368. , SchemaEntry("ifcvibrationisolatortypeenum",NULL )
  369. , SchemaEntry("ifcvoidingfeaturetypeenum",NULL )
  370. , SchemaEntry("ifcwalltypeenum",NULL )
  371. , SchemaEntry("ifcwasteterminaltypeenum",NULL )
  372. , SchemaEntry("ifcwindowpaneloperationenum",NULL )
  373. , SchemaEntry("ifcwindowpanelpositionenum",NULL )
  374. , SchemaEntry("ifcwindowstyleconstructionenum",NULL )
  375. , SchemaEntry("ifcwindowstyleoperationenum",NULL )
  376. , SchemaEntry("ifcwindowtypeenum",NULL )
  377. , SchemaEntry("ifcwindowtypepartitioningenum",NULL )
  378. , SchemaEntry("ifcworkcalendartypeenum",NULL )
  379. , SchemaEntry("ifcworkplantypeenum",NULL )
  380. , SchemaEntry("ifcworkscheduletypeenum",NULL )
  381. , SchemaEntry("ifcactorselect",NULL )
  382. , SchemaEntry("ifcappliedvalueselect",NULL )
  383. , SchemaEntry("ifcaxis2placement",NULL )
  384. , SchemaEntry("ifcbendingparameterselect",NULL )
  385. , SchemaEntry("ifcbooleanoperand",NULL )
  386. , SchemaEntry("ifcclassificationreferenceselect",NULL )
  387. , SchemaEntry("ifcclassificationselect",NULL )
  388. , SchemaEntry("ifccolour",NULL )
  389. , SchemaEntry("ifccolourorfactor",NULL )
  390. , SchemaEntry("ifccoordinatereferencesystemselect",NULL )
  391. , SchemaEntry("ifccsgselect",NULL )
  392. , SchemaEntry("ifccurvefontorscaledcurvefontselect",NULL )
  393. , SchemaEntry("ifccurveonsurface",NULL )
  394. , SchemaEntry("ifccurveoredgecurve",NULL )
  395. , SchemaEntry("ifccurvestylefontselect",NULL )
  396. , SchemaEntry("ifcdefinitionselect",NULL )
  397. , SchemaEntry("ifcderivedmeasurevalue",NULL )
  398. , SchemaEntry("ifcdocumentselect",NULL )
  399. , SchemaEntry("ifcfillstyleselect",NULL )
  400. , SchemaEntry("ifcgeometricsetselect",NULL )
  401. , SchemaEntry("ifcgridplacementdirectionselect",NULL )
  402. , SchemaEntry("ifchatchlinedistanceselect",NULL )
  403. , SchemaEntry("ifclayereditem",NULL )
  404. , SchemaEntry("ifclibraryselect",NULL )
  405. , SchemaEntry("ifclightdistributiondatasourceselect",NULL )
  406. , SchemaEntry("ifcmaterialselect",NULL )
  407. , SchemaEntry("ifcmeasurevalue",NULL )
  408. , SchemaEntry("ifcmetricvalueselect",NULL )
  409. , SchemaEntry("ifcmodulusofrotationalsubgradereactionselect",NULL )
  410. , SchemaEntry("ifcmodulusofsubgradereactionselect",NULL )
  411. , SchemaEntry("ifcmodulusoftranslationalsubgradereactionselect",NULL )
  412. , SchemaEntry("ifcobjectreferenceselect",NULL )
  413. , SchemaEntry("ifcpointorvertexpoint",NULL )
  414. , SchemaEntry("ifcpresentationstyleselect",NULL )
  415. , SchemaEntry("ifcprocessselect",NULL )
  416. , SchemaEntry("ifcproductrepresentationselect",NULL )
  417. , SchemaEntry("ifcproductselect",NULL )
  418. , SchemaEntry("ifcpropertysetdefinitionselect",NULL )
  419. , SchemaEntry("ifcresourceobjectselect",NULL )
  420. , SchemaEntry("ifcresourceselect",NULL )
  421. , SchemaEntry("ifcrotationalstiffnessselect",NULL )
  422. , SchemaEntry("ifcsegmentindexselect",NULL )
  423. , SchemaEntry("ifcshell",NULL )
  424. , SchemaEntry("ifcsimplevalue",NULL )
  425. , SchemaEntry("ifcsizeselect",NULL )
  426. , SchemaEntry("ifcsolidorshell",NULL )
  427. , SchemaEntry("ifcspaceboundaryselect",NULL )
  428. , SchemaEntry("ifcspecularhighlightselect",NULL )
  429. , SchemaEntry("ifcstructuralactivityassignmentselect",NULL )
  430. , SchemaEntry("ifcstyleassignmentselect",NULL )
  431. , SchemaEntry("ifcsurfaceorfacesurface",NULL )
  432. , SchemaEntry("ifcsurfacestyleelementselect",NULL )
  433. , SchemaEntry("ifctextfontselect",NULL )
  434. , SchemaEntry("ifctimeorratioselect",NULL )
  435. , SchemaEntry("ifctranslationalstiffnessselect",NULL )
  436. , SchemaEntry("ifctrimmingselect",NULL )
  437. , SchemaEntry("ifcunit",NULL )
  438. , SchemaEntry("ifcvalue",NULL )
  439. , SchemaEntry("ifcvectorordirection",NULL )
  440. , SchemaEntry("ifcwarpingstiffnessselect",NULL )
  441. , SchemaEntry("ifcroot",&STEP::ObjectHelper<IfcRoot,4>::Construct )
  442. , SchemaEntry("ifcobjectdefinition",&STEP::ObjectHelper<IfcObjectDefinition,0>::Construct )
  443. , SchemaEntry("ifcobject",&STEP::ObjectHelper<IfcObject,1>::Construct )
  444. , SchemaEntry("ifccontrol",&STEP::ObjectHelper<IfcControl,1>::Construct )
  445. , SchemaEntry("ifcactionrequest",&STEP::ObjectHelper<IfcActionRequest,3>::Construct )
  446. , SchemaEntry("ifcactor",&STEP::ObjectHelper<IfcActor,1>::Construct )
  447. , SchemaEntry("ifcactorrole",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  448. , SchemaEntry("ifcproduct",&STEP::ObjectHelper<IfcProduct,2>::Construct )
  449. , SchemaEntry("ifcelement",&STEP::ObjectHelper<IfcElement,1>::Construct )
  450. , SchemaEntry("ifcdistributionelement",&STEP::ObjectHelper<IfcDistributionElement,0>::Construct )
  451. , SchemaEntry("ifcdistributioncontrolelement",&STEP::ObjectHelper<IfcDistributionControlElement,0>::Construct )
  452. , SchemaEntry("ifcactuator",&STEP::ObjectHelper<IfcActuator,1>::Construct )
  453. , SchemaEntry("ifctypeobject",&STEP::ObjectHelper<IfcTypeObject,2>::Construct )
  454. , SchemaEntry("ifctypeproduct",&STEP::ObjectHelper<IfcTypeProduct,2>::Construct )
  455. , SchemaEntry("ifcelementtype",&STEP::ObjectHelper<IfcElementType,1>::Construct )
  456. , SchemaEntry("ifcdistributionelementtype",&STEP::ObjectHelper<IfcDistributionElementType,0>::Construct )
  457. , SchemaEntry("ifcdistributioncontrolelementtype",&STEP::ObjectHelper<IfcDistributionControlElementType,0>::Construct )
  458. , SchemaEntry("ifcactuatortype",&STEP::ObjectHelper<IfcActuatorType,1>::Construct )
  459. , SchemaEntry("ifcaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  460. , SchemaEntry("ifcrepresentationitem",&STEP::ObjectHelper<IfcRepresentationItem,0>::Construct )
  461. , SchemaEntry("ifcgeometricrepresentationitem",&STEP::ObjectHelper<IfcGeometricRepresentationItem,0>::Construct )
  462. , SchemaEntry("ifcsolidmodel",&STEP::ObjectHelper<IfcSolidModel,0>::Construct )
  463. , SchemaEntry("ifcmanifoldsolidbrep",&STEP::ObjectHelper<IfcManifoldSolidBrep,1>::Construct )
  464. , SchemaEntry("ifcadvancedbrep",&STEP::ObjectHelper<IfcAdvancedBrep,0>::Construct )
  465. , SchemaEntry("ifcadvancedbrepwithvoids",&STEP::ObjectHelper<IfcAdvancedBrepWithVoids,1>::Construct )
  466. , SchemaEntry("ifctopologicalrepresentationitem",&STEP::ObjectHelper<IfcTopologicalRepresentationItem,0>::Construct )
  467. , SchemaEntry("ifcface",&STEP::ObjectHelper<IfcFace,1>::Construct )
  468. , SchemaEntry("ifcfacesurface",&STEP::ObjectHelper<IfcFaceSurface,2>::Construct )
  469. , SchemaEntry("ifcadvancedface",&STEP::ObjectHelper<IfcAdvancedFace,0>::Construct )
  470. , SchemaEntry("ifcdistributionflowelement",&STEP::ObjectHelper<IfcDistributionFlowElement,0>::Construct )
  471. , SchemaEntry("ifcflowterminal",&STEP::ObjectHelper<IfcFlowTerminal,0>::Construct )
  472. , SchemaEntry("ifcairterminal",&STEP::ObjectHelper<IfcAirTerminal,1>::Construct )
  473. , SchemaEntry("ifcflowcontroller",&STEP::ObjectHelper<IfcFlowController,0>::Construct )
  474. , SchemaEntry("ifcairterminalbox",&STEP::ObjectHelper<IfcAirTerminalBox,1>::Construct )
  475. , SchemaEntry("ifcdistributionflowelementtype",&STEP::ObjectHelper<IfcDistributionFlowElementType,0>::Construct )
  476. , SchemaEntry("ifcflowcontrollertype",&STEP::ObjectHelper<IfcFlowControllerType,0>::Construct )
  477. , SchemaEntry("ifcairterminalboxtype",&STEP::ObjectHelper<IfcAirTerminalBoxType,1>::Construct )
  478. , SchemaEntry("ifcflowterminaltype",&STEP::ObjectHelper<IfcFlowTerminalType,0>::Construct )
  479. , SchemaEntry("ifcairterminaltype",&STEP::ObjectHelper<IfcAirTerminalType,1>::Construct )
  480. , SchemaEntry("ifcenergyconversiondevice",&STEP::ObjectHelper<IfcEnergyConversionDevice,0>::Construct )
  481. , SchemaEntry("ifcairtoairheatrecovery",&STEP::ObjectHelper<IfcAirToAirHeatRecovery,1>::Construct )
  482. , SchemaEntry("ifcenergyconversiondevicetype",&STEP::ObjectHelper<IfcEnergyConversionDeviceType,0>::Construct )
  483. , SchemaEntry("ifcairtoairheatrecoverytype",&STEP::ObjectHelper<IfcAirToAirHeatRecoveryType,1>::Construct )
  484. , SchemaEntry("ifcalarm",&STEP::ObjectHelper<IfcAlarm,1>::Construct )
  485. , SchemaEntry("ifcalarmtype",&STEP::ObjectHelper<IfcAlarmType,1>::Construct )
  486. , SchemaEntry("ifcannotation",&STEP::ObjectHelper<IfcAnnotation,0>::Construct )
  487. , SchemaEntry("ifcannotationfillarea",&STEP::ObjectHelper<IfcAnnotationFillArea,2>::Construct )
  488. , SchemaEntry("ifcapplication",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  489. , SchemaEntry("ifcappliedvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  490. , SchemaEntry("ifcapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  491. , SchemaEntry("ifcresourcelevelrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  492. , SchemaEntry("ifcapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  493. , SchemaEntry("ifcprofiledef",&STEP::ObjectHelper<IfcProfileDef,2>::Construct )
  494. , SchemaEntry("ifcarbitraryclosedprofiledef",&STEP::ObjectHelper<IfcArbitraryClosedProfileDef,1>::Construct )
  495. , SchemaEntry("ifcarbitraryopenprofiledef",&STEP::ObjectHelper<IfcArbitraryOpenProfileDef,1>::Construct )
  496. , SchemaEntry("ifcarbitraryprofiledefwithvoids",&STEP::ObjectHelper<IfcArbitraryProfileDefWithVoids,1>::Construct )
  497. , SchemaEntry("ifcgroup",&STEP::ObjectHelper<IfcGroup,0>::Construct )
  498. , SchemaEntry("ifcasset",&STEP::ObjectHelper<IfcAsset,9>::Construct )
  499. , SchemaEntry("ifcparameterizedprofiledef",&STEP::ObjectHelper<IfcParameterizedProfileDef,1>::Construct )
  500. , SchemaEntry("ifcasymmetricishapeprofiledef",&STEP::ObjectHelper<IfcAsymmetricIShapeProfileDef,12>::Construct )
  501. , SchemaEntry("ifcaudiovisualappliance",&STEP::ObjectHelper<IfcAudioVisualAppliance,1>::Construct )
  502. , SchemaEntry("ifcaudiovisualappliancetype",&STEP::ObjectHelper<IfcAudioVisualApplianceType,1>::Construct )
  503. , SchemaEntry("ifcplacement",&STEP::ObjectHelper<IfcPlacement,1>::Construct )
  504. , SchemaEntry("ifcaxis1placement",&STEP::ObjectHelper<IfcAxis1Placement,1>::Construct )
  505. , SchemaEntry("ifcaxis2placement2d",&STEP::ObjectHelper<IfcAxis2Placement2D,1>::Construct )
  506. , SchemaEntry("ifcaxis2placement3d",&STEP::ObjectHelper<IfcAxis2Placement3D,2>::Construct )
  507. , SchemaEntry("ifccurve",&STEP::ObjectHelper<IfcCurve,0>::Construct )
  508. , SchemaEntry("ifcboundedcurve",&STEP::ObjectHelper<IfcBoundedCurve,0>::Construct )
  509. , SchemaEntry("ifcbsplinecurve",&STEP::ObjectHelper<IfcBSplineCurve,5>::Construct )
  510. , SchemaEntry("ifcbsplinecurvewithknots",&STEP::ObjectHelper<IfcBSplineCurveWithKnots,3>::Construct )
  511. , SchemaEntry("ifcsurface",&STEP::ObjectHelper<IfcSurface,0>::Construct )
  512. , SchemaEntry("ifcboundedsurface",&STEP::ObjectHelper<IfcBoundedSurface,0>::Construct )
  513. , SchemaEntry("ifcbsplinesurface",&STEP::ObjectHelper<IfcBSplineSurface,6>::Construct )
  514. , SchemaEntry("ifcbsplinesurfacewithknots",&STEP::ObjectHelper<IfcBSplineSurfaceWithKnots,5>::Construct )
  515. , SchemaEntry("ifcbuildingelement",&STEP::ObjectHelper<IfcBuildingElement,0>::Construct )
  516. , SchemaEntry("ifcbeam",&STEP::ObjectHelper<IfcBeam,1>::Construct )
  517. , SchemaEntry("ifcbeamstandardcase",&STEP::ObjectHelper<IfcBeamStandardCase,0>::Construct )
  518. , SchemaEntry("ifcbuildingelementtype",&STEP::ObjectHelper<IfcBuildingElementType,0>::Construct )
  519. , SchemaEntry("ifcbeamtype",&STEP::ObjectHelper<IfcBeamType,1>::Construct )
  520. , SchemaEntry("ifcpresentationitem",&STEP::ObjectHelper<IfcPresentationItem,0>::Construct )
  521. , SchemaEntry("ifcsurfacetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  522. , SchemaEntry("ifcblobtexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  523. , SchemaEntry("ifccsgprimitive3d",&STEP::ObjectHelper<IfcCsgPrimitive3D,1>::Construct )
  524. , SchemaEntry("ifcblock",&STEP::ObjectHelper<IfcBlock,3>::Construct )
  525. , SchemaEntry("ifcboiler",&STEP::ObjectHelper<IfcBoiler,1>::Construct )
  526. , SchemaEntry("ifcboilertype",&STEP::ObjectHelper<IfcBoilerType,1>::Construct )
  527. , SchemaEntry("ifcbooleanresult",&STEP::ObjectHelper<IfcBooleanResult,3>::Construct )
  528. , SchemaEntry("ifcbooleanclippingresult",&STEP::ObjectHelper<IfcBooleanClippingResult,0>::Construct )
  529. , SchemaEntry("ifcboundarycondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  530. , SchemaEntry("ifccompositecurve",&STEP::ObjectHelper<IfcCompositeCurve,2>::Construct )
  531. , SchemaEntry("ifccompositecurveonsurface",&STEP::ObjectHelper<IfcCompositeCurveOnSurface,0>::Construct )
  532. , SchemaEntry("ifcboundarycurve",&STEP::ObjectHelper<IfcBoundaryCurve,0>::Construct )
  533. , SchemaEntry("ifcboundaryedgecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  534. , SchemaEntry("ifcboundaryfacecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  535. , SchemaEntry("ifcboundarynodecondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  536. , SchemaEntry("ifcboundarynodeconditionwarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  537. , SchemaEntry("ifcboundingbox",&STEP::ObjectHelper<IfcBoundingBox,4>::Construct )
  538. , SchemaEntry("ifchalfspacesolid",&STEP::ObjectHelper<IfcHalfSpaceSolid,2>::Construct )
  539. , SchemaEntry("ifcboxedhalfspace",&STEP::ObjectHelper<IfcBoxedHalfSpace,1>::Construct )
  540. , SchemaEntry("ifcspatialelement",&STEP::ObjectHelper<IfcSpatialElement,1>::Construct )
  541. , SchemaEntry("ifcspatialstructureelement",&STEP::ObjectHelper<IfcSpatialStructureElement,1>::Construct )
  542. , SchemaEntry("ifcbuilding",&STEP::ObjectHelper<IfcBuilding,3>::Construct )
  543. , SchemaEntry("ifcelementcomponent",&STEP::ObjectHelper<IfcElementComponent,0>::Construct )
  544. , SchemaEntry("ifcbuildingelementpart",&STEP::ObjectHelper<IfcBuildingElementPart,1>::Construct )
  545. , SchemaEntry("ifcelementcomponenttype",&STEP::ObjectHelper<IfcElementComponentType,0>::Construct )
  546. , SchemaEntry("ifcbuildingelementparttype",&STEP::ObjectHelper<IfcBuildingElementPartType,1>::Construct )
  547. , SchemaEntry("ifcbuildingelementproxy",&STEP::ObjectHelper<IfcBuildingElementProxy,1>::Construct )
  548. , SchemaEntry("ifcbuildingelementproxytype",&STEP::ObjectHelper<IfcBuildingElementProxyType,1>::Construct )
  549. , SchemaEntry("ifcbuildingstorey",&STEP::ObjectHelper<IfcBuildingStorey,1>::Construct )
  550. , SchemaEntry("ifcsystem",&STEP::ObjectHelper<IfcSystem,0>::Construct )
  551. , SchemaEntry("ifcbuildingsystem",&STEP::ObjectHelper<IfcBuildingSystem,2>::Construct )
  552. , SchemaEntry("ifcburner",&STEP::ObjectHelper<IfcBurner,1>::Construct )
  553. , SchemaEntry("ifcburnertype",&STEP::ObjectHelper<IfcBurnerType,1>::Construct )
  554. , SchemaEntry("ifccshapeprofiledef",&STEP::ObjectHelper<IfcCShapeProfileDef,5>::Construct )
  555. , SchemaEntry("ifcflowfitting",&STEP::ObjectHelper<IfcFlowFitting,0>::Construct )
  556. , SchemaEntry("ifccablecarrierfitting",&STEP::ObjectHelper<IfcCableCarrierFitting,1>::Construct )
  557. , SchemaEntry("ifcflowfittingtype",&STEP::ObjectHelper<IfcFlowFittingType,0>::Construct )
  558. , SchemaEntry("ifccablecarrierfittingtype",&STEP::ObjectHelper<IfcCableCarrierFittingType,1>::Construct )
  559. , SchemaEntry("ifcflowsegment",&STEP::ObjectHelper<IfcFlowSegment,0>::Construct )
  560. , SchemaEntry("ifccablecarriersegment",&STEP::ObjectHelper<IfcCableCarrierSegment,1>::Construct )
  561. , SchemaEntry("ifcflowsegmenttype",&STEP::ObjectHelper<IfcFlowSegmentType,0>::Construct )
  562. , SchemaEntry("ifccablecarriersegmenttype",&STEP::ObjectHelper<IfcCableCarrierSegmentType,1>::Construct )
  563. , SchemaEntry("ifccablefitting",&STEP::ObjectHelper<IfcCableFitting,1>::Construct )
  564. , SchemaEntry("ifccablefittingtype",&STEP::ObjectHelper<IfcCableFittingType,1>::Construct )
  565. , SchemaEntry("ifccablesegment",&STEP::ObjectHelper<IfcCableSegment,1>::Construct )
  566. , SchemaEntry("ifccablesegmenttype",&STEP::ObjectHelper<IfcCableSegmentType,1>::Construct )
  567. , SchemaEntry("ifcpoint",&STEP::ObjectHelper<IfcPoint,0>::Construct )
  568. , SchemaEntry("ifccartesianpoint",&STEP::ObjectHelper<IfcCartesianPoint,1>::Construct )
  569. , SchemaEntry("ifccartesianpointlist",&STEP::ObjectHelper<IfcCartesianPointList,0>::Construct )
  570. , SchemaEntry("ifccartesianpointlist2d",&STEP::ObjectHelper<IfcCartesianPointList2D,0>::Construct )
  571. , SchemaEntry("ifccartesianpointlist3d",&STEP::ObjectHelper<IfcCartesianPointList3D,0>::Construct )
  572. , SchemaEntry("ifccartesiantransformationoperator",&STEP::ObjectHelper<IfcCartesianTransformationOperator,4>::Construct )
  573. , SchemaEntry("ifccartesiantransformationoperator2d",&STEP::ObjectHelper<IfcCartesianTransformationOperator2D,0>::Construct )
  574. , SchemaEntry("ifccartesiantransformationoperator2dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator2DnonUniform,1>::Construct )
  575. , SchemaEntry("ifccartesiantransformationoperator3d",&STEP::ObjectHelper<IfcCartesianTransformationOperator3D,1>::Construct )
  576. , SchemaEntry("ifccartesiantransformationoperator3dnonuniform",&STEP::ObjectHelper<IfcCartesianTransformationOperator3DnonUniform,2>::Construct )
  577. , SchemaEntry("ifccenterlineprofiledef",&STEP::ObjectHelper<IfcCenterLineProfileDef,1>::Construct )
  578. , SchemaEntry("ifcchiller",&STEP::ObjectHelper<IfcChiller,1>::Construct )
  579. , SchemaEntry("ifcchillertype",&STEP::ObjectHelper<IfcChillerType,1>::Construct )
  580. , SchemaEntry("ifcchimney",&STEP::ObjectHelper<IfcChimney,1>::Construct )
  581. , SchemaEntry("ifcchimneytype",&STEP::ObjectHelper<IfcChimneyType,1>::Construct )
  582. , SchemaEntry("ifcconic",&STEP::ObjectHelper<IfcConic,1>::Construct )
  583. , SchemaEntry("ifccircle",&STEP::ObjectHelper<IfcCircle,1>::Construct )
  584. , SchemaEntry("ifccircleprofiledef",&STEP::ObjectHelper<IfcCircleProfileDef,1>::Construct )
  585. , SchemaEntry("ifccirclehollowprofiledef",&STEP::ObjectHelper<IfcCircleHollowProfileDef,1>::Construct )
  586. , SchemaEntry("ifccivilelement",&STEP::ObjectHelper<IfcCivilElement,0>::Construct )
  587. , SchemaEntry("ifccivilelementtype",&STEP::ObjectHelper<IfcCivilElementType,0>::Construct )
  588. , SchemaEntry("ifcexternalinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  589. , SchemaEntry("ifcclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  590. , SchemaEntry("ifcexternalreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  591. , SchemaEntry("ifcclassificationreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  592. , SchemaEntry("ifcconnectedfaceset",&STEP::ObjectHelper<IfcConnectedFaceSet,1>::Construct )
  593. , SchemaEntry("ifcclosedshell",&STEP::ObjectHelper<IfcClosedShell,0>::Construct )
  594. , SchemaEntry("ifccoil",&STEP::ObjectHelper<IfcCoil,1>::Construct )
  595. , SchemaEntry("ifccoiltype",&STEP::ObjectHelper<IfcCoilType,1>::Construct )
  596. , SchemaEntry("ifccolourspecification",&STEP::ObjectHelper<IfcColourSpecification,1>::Construct )
  597. , SchemaEntry("ifccolourrgb",&STEP::ObjectHelper<IfcColourRgb,3>::Construct )
  598. , SchemaEntry("ifccolourrgblist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  599. , SchemaEntry("ifccolumn",&STEP::ObjectHelper<IfcColumn,1>::Construct )
  600. , SchemaEntry("ifccolumnstandardcase",&STEP::ObjectHelper<IfcColumnStandardCase,0>::Construct )
  601. , SchemaEntry("ifccolumntype",&STEP::ObjectHelper<IfcColumnType,1>::Construct )
  602. , SchemaEntry("ifccommunicationsappliance",&STEP::ObjectHelper<IfcCommunicationsAppliance,1>::Construct )
  603. , SchemaEntry("ifccommunicationsappliancetype",&STEP::ObjectHelper<IfcCommunicationsApplianceType,1>::Construct )
  604. , SchemaEntry("ifcpropertyabstraction",&STEP::ObjectHelper<IfcPropertyAbstraction,0>::Construct )
  605. , SchemaEntry("ifcproperty",&STEP::ObjectHelper<IfcProperty,2>::Construct )
  606. , SchemaEntry("ifccomplexproperty",&STEP::ObjectHelper<IfcComplexProperty,2>::Construct )
  607. , SchemaEntry("ifcpropertydefinition",&STEP::ObjectHelper<IfcPropertyDefinition,0>::Construct )
  608. , SchemaEntry("ifcpropertytemplatedefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  609. , SchemaEntry("ifcpropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  610. , SchemaEntry("ifccomplexpropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  611. , SchemaEntry("ifccompositecurvesegment",&STEP::ObjectHelper<IfcCompositeCurveSegment,3>::Construct )
  612. , SchemaEntry("ifccompositeprofiledef",&STEP::ObjectHelper<IfcCompositeProfileDef,2>::Construct )
  613. , SchemaEntry("ifcflowmovingdevice",&STEP::ObjectHelper<IfcFlowMovingDevice,0>::Construct )
  614. , SchemaEntry("ifccompressor",&STEP::ObjectHelper<IfcCompressor,1>::Construct )
  615. , SchemaEntry("ifcflowmovingdevicetype",&STEP::ObjectHelper<IfcFlowMovingDeviceType,0>::Construct )
  616. , SchemaEntry("ifccompressortype",&STEP::ObjectHelper<IfcCompressorType,1>::Construct )
  617. , SchemaEntry("ifccondenser",&STEP::ObjectHelper<IfcCondenser,1>::Construct )
  618. , SchemaEntry("ifccondensertype",&STEP::ObjectHelper<IfcCondenserType,1>::Construct )
  619. , SchemaEntry("ifcconnectiongeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  620. , SchemaEntry("ifcconnectioncurvegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  621. , SchemaEntry("ifcconnectionpointgeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  622. , SchemaEntry("ifcconnectionpointeccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  623. , SchemaEntry("ifcconnectionsurfacegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  624. , SchemaEntry("ifcconnectionvolumegeometry",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  625. , SchemaEntry("ifcconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  626. , SchemaEntry("ifcresource",&STEP::ObjectHelper<IfcResource,2>::Construct )
  627. , SchemaEntry("ifcconstructionresource",&STEP::ObjectHelper<IfcConstructionResource,3>::Construct )
  628. , SchemaEntry("ifcconstructionequipmentresource",&STEP::ObjectHelper<IfcConstructionEquipmentResource,1>::Construct )
  629. , SchemaEntry("ifctyperesource",&STEP::ObjectHelper<IfcTypeResource,3>::Construct )
  630. , SchemaEntry("ifcconstructionresourcetype",&STEP::ObjectHelper<IfcConstructionResourceType,2>::Construct )
  631. , SchemaEntry("ifcconstructionequipmentresourcetype",&STEP::ObjectHelper<IfcConstructionEquipmentResourceType,1>::Construct )
  632. , SchemaEntry("ifcconstructionmaterialresource",&STEP::ObjectHelper<IfcConstructionMaterialResource,1>::Construct )
  633. , SchemaEntry("ifcconstructionmaterialresourcetype",&STEP::ObjectHelper<IfcConstructionMaterialResourceType,1>::Construct )
  634. , SchemaEntry("ifcconstructionproductresource",&STEP::ObjectHelper<IfcConstructionProductResource,1>::Construct )
  635. , SchemaEntry("ifcconstructionproductresourcetype",&STEP::ObjectHelper<IfcConstructionProductResourceType,1>::Construct )
  636. , SchemaEntry("ifccontext",&STEP::ObjectHelper<IfcContext,5>::Construct )
  637. , SchemaEntry("ifcnamedunit",&STEP::ObjectHelper<IfcNamedUnit,2>::Construct )
  638. , SchemaEntry("ifccontextdependentunit",&STEP::ObjectHelper<IfcContextDependentUnit,1>::Construct )
  639. , SchemaEntry("ifccontroller",&STEP::ObjectHelper<IfcController,1>::Construct )
  640. , SchemaEntry("ifccontrollertype",&STEP::ObjectHelper<IfcControllerType,1>::Construct )
  641. , SchemaEntry("ifcconversionbasedunit",&STEP::ObjectHelper<IfcConversionBasedUnit,2>::Construct )
  642. , SchemaEntry("ifcconversionbasedunitwithoffset",&STEP::ObjectHelper<IfcConversionBasedUnitWithOffset,1>::Construct )
  643. , SchemaEntry("ifccooledbeam",&STEP::ObjectHelper<IfcCooledBeam,1>::Construct )
  644. , SchemaEntry("ifccooledbeamtype",&STEP::ObjectHelper<IfcCooledBeamType,1>::Construct )
  645. , SchemaEntry("ifccoolingtower",&STEP::ObjectHelper<IfcCoolingTower,1>::Construct )
  646. , SchemaEntry("ifccoolingtowertype",&STEP::ObjectHelper<IfcCoolingTowerType,1>::Construct )
  647. , SchemaEntry("ifccoordinateoperation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  648. , SchemaEntry("ifccoordinatereferencesystem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  649. , SchemaEntry("ifccostitem",&STEP::ObjectHelper<IfcCostItem,3>::Construct )
  650. , SchemaEntry("ifccostschedule",&STEP::ObjectHelper<IfcCostSchedule,4>::Construct )
  651. , SchemaEntry("ifccostvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  652. , SchemaEntry("ifccovering",&STEP::ObjectHelper<IfcCovering,1>::Construct )
  653. , SchemaEntry("ifccoveringtype",&STEP::ObjectHelper<IfcCoveringType,1>::Construct )
  654. , SchemaEntry("ifccrewresource",&STEP::ObjectHelper<IfcCrewResource,1>::Construct )
  655. , SchemaEntry("ifccrewresourcetype",&STEP::ObjectHelper<IfcCrewResourceType,1>::Construct )
  656. , SchemaEntry("ifccsgsolid",&STEP::ObjectHelper<IfcCsgSolid,1>::Construct )
  657. , SchemaEntry("ifccurrencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  658. , SchemaEntry("ifccurtainwall",&STEP::ObjectHelper<IfcCurtainWall,1>::Construct )
  659. , SchemaEntry("ifccurtainwalltype",&STEP::ObjectHelper<IfcCurtainWallType,1>::Construct )
  660. , SchemaEntry("ifccurveboundedplane",&STEP::ObjectHelper<IfcCurveBoundedPlane,3>::Construct )
  661. , SchemaEntry("ifccurveboundedsurface",&STEP::ObjectHelper<IfcCurveBoundedSurface,3>::Construct )
  662. , SchemaEntry("ifcpresentationstyle",&STEP::ObjectHelper<IfcPresentationStyle,1>::Construct )
  663. , SchemaEntry("ifccurvestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  664. , SchemaEntry("ifccurvestylefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  665. , SchemaEntry("ifccurvestylefontandscaling",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  666. , SchemaEntry("ifccurvestylefontpattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  667. , SchemaEntry("ifcelementarysurface",&STEP::ObjectHelper<IfcElementarySurface,1>::Construct )
  668. , SchemaEntry("ifccylindricalsurface",&STEP::ObjectHelper<IfcCylindricalSurface,1>::Construct )
  669. , SchemaEntry("ifcdamper",&STEP::ObjectHelper<IfcDamper,1>::Construct )
  670. , SchemaEntry("ifcdampertype",&STEP::ObjectHelper<IfcDamperType,1>::Construct )
  671. , SchemaEntry("ifcderivedprofiledef",&STEP::ObjectHelper<IfcDerivedProfileDef,3>::Construct )
  672. , SchemaEntry("ifcderivedunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  673. , SchemaEntry("ifcderivedunitelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  674. , SchemaEntry("ifcdimensionalexponents",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  675. , SchemaEntry("ifcdirection",&STEP::ObjectHelper<IfcDirection,1>::Construct )
  676. , SchemaEntry("ifcdiscreteaccessory",&STEP::ObjectHelper<IfcDiscreteAccessory,1>::Construct )
  677. , SchemaEntry("ifcdiscreteaccessorytype",&STEP::ObjectHelper<IfcDiscreteAccessoryType,1>::Construct )
  678. , SchemaEntry("ifcdistributionchamberelement",&STEP::ObjectHelper<IfcDistributionChamberElement,1>::Construct )
  679. , SchemaEntry("ifcdistributionchamberelementtype",&STEP::ObjectHelper<IfcDistributionChamberElementType,1>::Construct )
  680. , SchemaEntry("ifcdistributionsystem",&STEP::ObjectHelper<IfcDistributionSystem,2>::Construct )
  681. , SchemaEntry("ifcdistributioncircuit",&STEP::ObjectHelper<IfcDistributionCircuit,0>::Construct )
  682. , SchemaEntry("ifcport",&STEP::ObjectHelper<IfcPort,0>::Construct )
  683. , SchemaEntry("ifcdistributionport",&STEP::ObjectHelper<IfcDistributionPort,3>::Construct )
  684. , SchemaEntry("ifcdocumentinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  685. , SchemaEntry("ifcdocumentinformationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  686. , SchemaEntry("ifcdocumentreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  687. , SchemaEntry("ifcdoor",&STEP::ObjectHelper<IfcDoor,5>::Construct )
  688. , SchemaEntry("ifcpropertysetdefinition",&STEP::ObjectHelper<IfcPropertySetDefinition,0>::Construct )
  689. , SchemaEntry("ifcpredefinedpropertyset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  690. , SchemaEntry("ifcdoorliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  691. , SchemaEntry("ifcdoorpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  692. , SchemaEntry("ifcdoorstandardcase",&STEP::ObjectHelper<IfcDoorStandardCase,0>::Construct )
  693. , SchemaEntry("ifcdoorstyle",&STEP::ObjectHelper<IfcDoorStyle,4>::Construct )
  694. , SchemaEntry("ifcdoortype",&STEP::ObjectHelper<IfcDoorType,4>::Construct )
  695. , SchemaEntry("ifcpredefineditem",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  696. , SchemaEntry("ifcpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  697. , SchemaEntry("ifcdraughtingpredefinedcolour",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  698. , SchemaEntry("ifcpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  699. , SchemaEntry("ifcdraughtingpredefinedcurvefont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  700. , SchemaEntry("ifcductfitting",&STEP::ObjectHelper<IfcDuctFitting,1>::Construct )
  701. , SchemaEntry("ifcductfittingtype",&STEP::ObjectHelper<IfcDuctFittingType,1>::Construct )
  702. , SchemaEntry("ifcductsegment",&STEP::ObjectHelper<IfcDuctSegment,1>::Construct )
  703. , SchemaEntry("ifcductsegmenttype",&STEP::ObjectHelper<IfcDuctSegmentType,1>::Construct )
  704. , SchemaEntry("ifcflowtreatmentdevice",&STEP::ObjectHelper<IfcFlowTreatmentDevice,0>::Construct )
  705. , SchemaEntry("ifcductsilencer",&STEP::ObjectHelper<IfcDuctSilencer,1>::Construct )
  706. , SchemaEntry("ifcflowtreatmentdevicetype",&STEP::ObjectHelper<IfcFlowTreatmentDeviceType,0>::Construct )
  707. , SchemaEntry("ifcductsilencertype",&STEP::ObjectHelper<IfcDuctSilencerType,1>::Construct )
  708. , SchemaEntry("ifcedge",&STEP::ObjectHelper<IfcEdge,2>::Construct )
  709. , SchemaEntry("ifcedgecurve",&STEP::ObjectHelper<IfcEdgeCurve,2>::Construct )
  710. , SchemaEntry("ifcloop",&STEP::ObjectHelper<IfcLoop,0>::Construct )
  711. , SchemaEntry("ifcedgeloop",&STEP::ObjectHelper<IfcEdgeLoop,1>::Construct )
  712. , SchemaEntry("ifcelectricappliance",&STEP::ObjectHelper<IfcElectricAppliance,1>::Construct )
  713. , SchemaEntry("ifcelectricappliancetype",&STEP::ObjectHelper<IfcElectricApplianceType,1>::Construct )
  714. , SchemaEntry("ifcelectricdistributionboard",&STEP::ObjectHelper<IfcElectricDistributionBoard,1>::Construct )
  715. , SchemaEntry("ifcelectricdistributionboardtype",&STEP::ObjectHelper<IfcElectricDistributionBoardType,1>::Construct )
  716. , SchemaEntry("ifcflowstoragedevice",&STEP::ObjectHelper<IfcFlowStorageDevice,0>::Construct )
  717. , SchemaEntry("ifcelectricflowstoragedevice",&STEP::ObjectHelper<IfcElectricFlowStorageDevice,1>::Construct )
  718. , SchemaEntry("ifcflowstoragedevicetype",&STEP::ObjectHelper<IfcFlowStorageDeviceType,0>::Construct )
  719. , SchemaEntry("ifcelectricflowstoragedevicetype",&STEP::ObjectHelper<IfcElectricFlowStorageDeviceType,1>::Construct )
  720. , SchemaEntry("ifcelectricgenerator",&STEP::ObjectHelper<IfcElectricGenerator,1>::Construct )
  721. , SchemaEntry("ifcelectricgeneratortype",&STEP::ObjectHelper<IfcElectricGeneratorType,1>::Construct )
  722. , SchemaEntry("ifcelectricmotor",&STEP::ObjectHelper<IfcElectricMotor,1>::Construct )
  723. , SchemaEntry("ifcelectricmotortype",&STEP::ObjectHelper<IfcElectricMotorType,1>::Construct )
  724. , SchemaEntry("ifcelectrictimecontrol",&STEP::ObjectHelper<IfcElectricTimeControl,1>::Construct )
  725. , SchemaEntry("ifcelectrictimecontroltype",&STEP::ObjectHelper<IfcElectricTimeControlType,1>::Construct )
  726. , SchemaEntry("ifcelementassembly",&STEP::ObjectHelper<IfcElementAssembly,2>::Construct )
  727. , SchemaEntry("ifcelementassemblytype",&STEP::ObjectHelper<IfcElementAssemblyType,1>::Construct )
  728. , SchemaEntry("ifcquantityset",&STEP::ObjectHelper<IfcQuantitySet,0>::Construct )
  729. , SchemaEntry("ifcelementquantity",&STEP::ObjectHelper<IfcElementQuantity,2>::Construct )
  730. , SchemaEntry("ifcellipse",&STEP::ObjectHelper<IfcEllipse,2>::Construct )
  731. , SchemaEntry("ifcellipseprofiledef",&STEP::ObjectHelper<IfcEllipseProfileDef,2>::Construct )
  732. , SchemaEntry("ifcengine",&STEP::ObjectHelper<IfcEngine,1>::Construct )
  733. , SchemaEntry("ifcenginetype",&STEP::ObjectHelper<IfcEngineType,1>::Construct )
  734. , SchemaEntry("ifcevaporativecooler",&STEP::ObjectHelper<IfcEvaporativeCooler,1>::Construct )
  735. , SchemaEntry("ifcevaporativecoolertype",&STEP::ObjectHelper<IfcEvaporativeCoolerType,1>::Construct )
  736. , SchemaEntry("ifcevaporator",&STEP::ObjectHelper<IfcEvaporator,1>::Construct )
  737. , SchemaEntry("ifcevaporatortype",&STEP::ObjectHelper<IfcEvaporatorType,1>::Construct )
  738. , SchemaEntry("ifcprocess",&STEP::ObjectHelper<IfcProcess,2>::Construct )
  739. , SchemaEntry("ifcevent",&STEP::ObjectHelper<IfcEvent,4>::Construct )
  740. , SchemaEntry("ifcschedulingtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  741. , SchemaEntry("ifceventtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  742. , SchemaEntry("ifctypeprocess",&STEP::ObjectHelper<IfcTypeProcess,3>::Construct )
  743. , SchemaEntry("ifceventtype",&STEP::ObjectHelper<IfcEventType,3>::Construct )
  744. , SchemaEntry("ifcextendedproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  745. , SchemaEntry("ifcexternalreferencerelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  746. , SchemaEntry("ifcexternalspatialstructureelement",&STEP::ObjectHelper<IfcExternalSpatialStructureElement,0>::Construct )
  747. , SchemaEntry("ifcexternalspatialelement",&STEP::ObjectHelper<IfcExternalSpatialElement,1>::Construct )
  748. , SchemaEntry("ifcexternallydefinedhatchstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  749. , SchemaEntry("ifcexternallydefinedsurfacestyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  750. , SchemaEntry("ifcexternallydefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  751. , SchemaEntry("ifcsweptareasolid",&STEP::ObjectHelper<IfcSweptAreaSolid,2>::Construct )
  752. , SchemaEntry("ifcextrudedareasolid",&STEP::ObjectHelper<IfcExtrudedAreaSolid,2>::Construct )
  753. , SchemaEntry("ifcextrudedareasolidtapered",&STEP::ObjectHelper<IfcExtrudedAreaSolidTapered,1>::Construct )
  754. , SchemaEntry("ifcfacebasedsurfacemodel",&STEP::ObjectHelper<IfcFaceBasedSurfaceModel,1>::Construct )
  755. , SchemaEntry("ifcfacebound",&STEP::ObjectHelper<IfcFaceBound,2>::Construct )
  756. , SchemaEntry("ifcfaceouterbound",&STEP::ObjectHelper<IfcFaceOuterBound,0>::Construct )
  757. , SchemaEntry("ifcfacetedbrep",&STEP::ObjectHelper<IfcFacetedBrep,0>::Construct )
  758. , SchemaEntry("ifcfacetedbrepwithvoids",&STEP::ObjectHelper<IfcFacetedBrepWithVoids,1>::Construct )
  759. , SchemaEntry("ifcstructuralconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  760. , SchemaEntry("ifcfailureconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  761. , SchemaEntry("ifcfan",&STEP::ObjectHelper<IfcFan,1>::Construct )
  762. , SchemaEntry("ifcfantype",&STEP::ObjectHelper<IfcFanType,1>::Construct )
  763. , SchemaEntry("ifcfastener",&STEP::ObjectHelper<IfcFastener,1>::Construct )
  764. , SchemaEntry("ifcfastenertype",&STEP::ObjectHelper<IfcFastenerType,1>::Construct )
  765. , SchemaEntry("ifcfeatureelement",&STEP::ObjectHelper<IfcFeatureElement,0>::Construct )
  766. , SchemaEntry("ifcfeatureelementaddition",&STEP::ObjectHelper<IfcFeatureElementAddition,0>::Construct )
  767. , SchemaEntry("ifcfeatureelementsubtraction",&STEP::ObjectHelper<IfcFeatureElementSubtraction,0>::Construct )
  768. , SchemaEntry("ifcfillareastyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  769. , SchemaEntry("ifcfillareastylehatching",&STEP::ObjectHelper<IfcFillAreaStyleHatching,5>::Construct )
  770. , SchemaEntry("ifcfillareastyletiles",&STEP::ObjectHelper<IfcFillAreaStyleTiles,3>::Construct )
  771. , SchemaEntry("ifcfilter",&STEP::ObjectHelper<IfcFilter,1>::Construct )
  772. , SchemaEntry("ifcfiltertype",&STEP::ObjectHelper<IfcFilterType,1>::Construct )
  773. , SchemaEntry("ifcfiresuppressionterminal",&STEP::ObjectHelper<IfcFireSuppressionTerminal,1>::Construct )
  774. , SchemaEntry("ifcfiresuppressionterminaltype",&STEP::ObjectHelper<IfcFireSuppressionTerminalType,1>::Construct )
  775. , SchemaEntry("ifcfixedreferencesweptareasolid",&STEP::ObjectHelper<IfcFixedReferenceSweptAreaSolid,4>::Construct )
  776. , SchemaEntry("ifcflowinstrument",&STEP::ObjectHelper<IfcFlowInstrument,1>::Construct )
  777. , SchemaEntry("ifcflowinstrumenttype",&STEP::ObjectHelper<IfcFlowInstrumentType,1>::Construct )
  778. , SchemaEntry("ifcflowmeter",&STEP::ObjectHelper<IfcFlowMeter,1>::Construct )
  779. , SchemaEntry("ifcflowmetertype",&STEP::ObjectHelper<IfcFlowMeterType,1>::Construct )
  780. , SchemaEntry("ifcfooting",&STEP::ObjectHelper<IfcFooting,1>::Construct )
  781. , SchemaEntry("ifcfootingtype",&STEP::ObjectHelper<IfcFootingType,1>::Construct )
  782. , SchemaEntry("ifcfurnishingelement",&STEP::ObjectHelper<IfcFurnishingElement,0>::Construct )
  783. , SchemaEntry("ifcfurnishingelementtype",&STEP::ObjectHelper<IfcFurnishingElementType,0>::Construct )
  784. , SchemaEntry("ifcfurniture",&STEP::ObjectHelper<IfcFurniture,1>::Construct )
  785. , SchemaEntry("ifcfurnituretype",&STEP::ObjectHelper<IfcFurnitureType,2>::Construct )
  786. , SchemaEntry("ifcgeographicelement",&STEP::ObjectHelper<IfcGeographicElement,1>::Construct )
  787. , SchemaEntry("ifcgeographicelementtype",&STEP::ObjectHelper<IfcGeographicElementType,1>::Construct )
  788. , SchemaEntry("ifcgeometricset",&STEP::ObjectHelper<IfcGeometricSet,1>::Construct )
  789. , SchemaEntry("ifcgeometriccurveset",&STEP::ObjectHelper<IfcGeometricCurveSet,0>::Construct )
  790. , SchemaEntry("ifcrepresentationcontext",&STEP::ObjectHelper<IfcRepresentationContext,2>::Construct )
  791. , SchemaEntry("ifcgeometricrepresentationcontext",&STEP::ObjectHelper<IfcGeometricRepresentationContext,4>::Construct )
  792. , SchemaEntry("ifcgeometricrepresentationsubcontext",&STEP::ObjectHelper<IfcGeometricRepresentationSubContext,4>::Construct )
  793. , SchemaEntry("ifcgrid",&STEP::ObjectHelper<IfcGrid,4>::Construct )
  794. , SchemaEntry("ifcgridaxis",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  795. , SchemaEntry("ifcobjectplacement",&STEP::ObjectHelper<IfcObjectPlacement,0>::Construct )
  796. , SchemaEntry("ifcgridplacement",&STEP::ObjectHelper<IfcGridPlacement,2>::Construct )
  797. , SchemaEntry("ifcheatexchanger",&STEP::ObjectHelper<IfcHeatExchanger,1>::Construct )
  798. , SchemaEntry("ifcheatexchangertype",&STEP::ObjectHelper<IfcHeatExchangerType,1>::Construct )
  799. , SchemaEntry("ifchumidifier",&STEP::ObjectHelper<IfcHumidifier,1>::Construct )
  800. , SchemaEntry("ifchumidifiertype",&STEP::ObjectHelper<IfcHumidifierType,1>::Construct )
  801. , SchemaEntry("ifcishapeprofiledef",&STEP::ObjectHelper<IfcIShapeProfileDef,7>::Construct )
  802. , SchemaEntry("ifcimagetexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  803. , SchemaEntry("ifcindexedcolourmap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  804. , SchemaEntry("ifcindexedpolycurve",&STEP::ObjectHelper<IfcIndexedPolyCurve,3>::Construct )
  805. , SchemaEntry("ifctessellateditem",&STEP::ObjectHelper<IfcTessellatedItem,0>::Construct )
  806. , SchemaEntry("ifcindexedpolygonalface",&STEP::ObjectHelper<IfcIndexedPolygonalFace,1>::Construct )
  807. , SchemaEntry("ifcindexedpolygonalfacewithvoids",&STEP::ObjectHelper<IfcIndexedPolygonalFaceWithVoids,0>::Construct )
  808. , SchemaEntry("ifctexturecoordinate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  809. , SchemaEntry("ifcindexedtexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  810. , SchemaEntry("ifcindexedtriangletexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  811. , SchemaEntry("ifcinterceptor",&STEP::ObjectHelper<IfcInterceptor,1>::Construct )
  812. , SchemaEntry("ifcinterceptortype",&STEP::ObjectHelper<IfcInterceptorType,1>::Construct )
  813. , SchemaEntry("ifcsurfacecurve",&STEP::ObjectHelper<IfcSurfaceCurve,3>::Construct )
  814. , SchemaEntry("ifcintersectioncurve",&STEP::ObjectHelper<IfcIntersectionCurve,0>::Construct )
  815. , SchemaEntry("ifcinventory",&STEP::ObjectHelper<IfcInventory,6>::Construct )
  816. , SchemaEntry("ifctimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  817. , SchemaEntry("ifcirregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  818. , SchemaEntry("ifcirregulartimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  819. , SchemaEntry("ifcjunctionbox",&STEP::ObjectHelper<IfcJunctionBox,1>::Construct )
  820. , SchemaEntry("ifcjunctionboxtype",&STEP::ObjectHelper<IfcJunctionBoxType,1>::Construct )
  821. , SchemaEntry("ifclshapeprofiledef",&STEP::ObjectHelper<IfcLShapeProfileDef,6>::Construct )
  822. , SchemaEntry("ifclaborresource",&STEP::ObjectHelper<IfcLaborResource,1>::Construct )
  823. , SchemaEntry("ifclaborresourcetype",&STEP::ObjectHelper<IfcLaborResourceType,1>::Construct )
  824. , SchemaEntry("ifclagtime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  825. , SchemaEntry("ifclamp",&STEP::ObjectHelper<IfcLamp,1>::Construct )
  826. , SchemaEntry("ifclamptype",&STEP::ObjectHelper<IfcLampType,1>::Construct )
  827. , SchemaEntry("ifclibraryinformation",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  828. , SchemaEntry("ifclibraryreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  829. , SchemaEntry("ifclightdistributiondata",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  830. , SchemaEntry("ifclightfixture",&STEP::ObjectHelper<IfcLightFixture,1>::Construct )
  831. , SchemaEntry("ifclightfixturetype",&STEP::ObjectHelper<IfcLightFixtureType,1>::Construct )
  832. , SchemaEntry("ifclightintensitydistribution",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  833. , SchemaEntry("ifclightsource",&STEP::ObjectHelper<IfcLightSource,4>::Construct )
  834. , SchemaEntry("ifclightsourceambient",&STEP::ObjectHelper<IfcLightSourceAmbient,0>::Construct )
  835. , SchemaEntry("ifclightsourcedirectional",&STEP::ObjectHelper<IfcLightSourceDirectional,1>::Construct )
  836. , SchemaEntry("ifclightsourcegoniometric",&STEP::ObjectHelper<IfcLightSourceGoniometric,6>::Construct )
  837. , SchemaEntry("ifclightsourcepositional",&STEP::ObjectHelper<IfcLightSourcePositional,5>::Construct )
  838. , SchemaEntry("ifclightsourcespot",&STEP::ObjectHelper<IfcLightSourceSpot,4>::Construct )
  839. , SchemaEntry("ifcline",&STEP::ObjectHelper<IfcLine,2>::Construct )
  840. , SchemaEntry("ifclocalplacement",&STEP::ObjectHelper<IfcLocalPlacement,2>::Construct )
  841. , SchemaEntry("ifcmapconversion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  842. , SchemaEntry("ifcmappeditem",&STEP::ObjectHelper<IfcMappedItem,2>::Construct )
  843. , SchemaEntry("ifcmaterialdefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  844. , SchemaEntry("ifcmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  845. , SchemaEntry("ifcmaterialclassificationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  846. , SchemaEntry("ifcmaterialconstituent",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  847. , SchemaEntry("ifcmaterialconstituentset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  848. , SchemaEntry("ifcproductrepresentation",&STEP::ObjectHelper<IfcProductRepresentation,3>::Construct )
  849. , SchemaEntry("ifcmaterialdefinitionrepresentation",&STEP::ObjectHelper<IfcMaterialDefinitionRepresentation,1>::Construct )
  850. , SchemaEntry("ifcmateriallayer",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  851. , SchemaEntry("ifcmateriallayerset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  852. , SchemaEntry("ifcmaterialusagedefinition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  853. , SchemaEntry("ifcmateriallayersetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  854. , SchemaEntry("ifcmateriallayerwithoffsets",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  855. , SchemaEntry("ifcmateriallist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  856. , SchemaEntry("ifcmaterialprofile",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  857. , SchemaEntry("ifcmaterialprofileset",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  858. , SchemaEntry("ifcmaterialprofilesetusage",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  859. , SchemaEntry("ifcmaterialprofilesetusagetapering",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  860. , SchemaEntry("ifcmaterialprofilewithoffsets",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  861. , SchemaEntry("ifcmaterialproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  862. , SchemaEntry("ifcmaterialrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  863. , SchemaEntry("ifcmeasurewithunit",&STEP::ObjectHelper<IfcMeasureWithUnit,2>::Construct )
  864. , SchemaEntry("ifcmechanicalfastener",&STEP::ObjectHelper<IfcMechanicalFastener,3>::Construct )
  865. , SchemaEntry("ifcmechanicalfastenertype",&STEP::ObjectHelper<IfcMechanicalFastenerType,3>::Construct )
  866. , SchemaEntry("ifcmedicaldevice",&STEP::ObjectHelper<IfcMedicalDevice,1>::Construct )
  867. , SchemaEntry("ifcmedicaldevicetype",&STEP::ObjectHelper<IfcMedicalDeviceType,1>::Construct )
  868. , SchemaEntry("ifcmember",&STEP::ObjectHelper<IfcMember,1>::Construct )
  869. , SchemaEntry("ifcmemberstandardcase",&STEP::ObjectHelper<IfcMemberStandardCase,0>::Construct )
  870. , SchemaEntry("ifcmembertype",&STEP::ObjectHelper<IfcMemberType,1>::Construct )
  871. , SchemaEntry("ifcmetric",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  872. , SchemaEntry("ifcmirroredprofiledef",&STEP::ObjectHelper<IfcMirroredProfileDef,0>::Construct )
  873. , SchemaEntry("ifcmonetaryunit",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  874. , SchemaEntry("ifcmotorconnection",&STEP::ObjectHelper<IfcMotorConnection,1>::Construct )
  875. , SchemaEntry("ifcmotorconnectiontype",&STEP::ObjectHelper<IfcMotorConnectionType,1>::Construct )
  876. , SchemaEntry("ifcobjective",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  877. , SchemaEntry("ifcoccupant",&STEP::ObjectHelper<IfcOccupant,1>::Construct )
  878. , SchemaEntry("ifcoffsetcurve2d",&STEP::ObjectHelper<IfcOffsetCurve2D,3>::Construct )
  879. , SchemaEntry("ifcoffsetcurve3d",&STEP::ObjectHelper<IfcOffsetCurve3D,4>::Construct )
  880. , SchemaEntry("ifcopenshell",&STEP::ObjectHelper<IfcOpenShell,0>::Construct )
  881. , SchemaEntry("ifcopeningelement",&STEP::ObjectHelper<IfcOpeningElement,1>::Construct )
  882. , SchemaEntry("ifcopeningstandardcase",&STEP::ObjectHelper<IfcOpeningStandardCase,0>::Construct )
  883. , SchemaEntry("ifcorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  884. , SchemaEntry("ifcorganizationrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  885. , SchemaEntry("ifcorientededge",&STEP::ObjectHelper<IfcOrientedEdge,2>::Construct )
  886. , SchemaEntry("ifcouterboundarycurve",&STEP::ObjectHelper<IfcOuterBoundaryCurve,0>::Construct )
  887. , SchemaEntry("ifcoutlet",&STEP::ObjectHelper<IfcOutlet,1>::Construct )
  888. , SchemaEntry("ifcoutlettype",&STEP::ObjectHelper<IfcOutletType,1>::Construct )
  889. , SchemaEntry("ifcownerhistory",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  890. , SchemaEntry("ifcpath",&STEP::ObjectHelper<IfcPath,1>::Construct )
  891. , SchemaEntry("ifcpcurve",&STEP::ObjectHelper<IfcPcurve,2>::Construct )
  892. , SchemaEntry("ifcperformancehistory",&STEP::ObjectHelper<IfcPerformanceHistory,2>::Construct )
  893. , SchemaEntry("ifcpermeablecoveringproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  894. , SchemaEntry("ifcpermit",&STEP::ObjectHelper<IfcPermit,3>::Construct )
  895. , SchemaEntry("ifcperson",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  896. , SchemaEntry("ifcpersonandorganization",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  897. , SchemaEntry("ifcphysicalquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  898. , SchemaEntry("ifcphysicalcomplexquantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  899. , SchemaEntry("ifcphysicalsimplequantity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  900. , SchemaEntry("ifcpile",&STEP::ObjectHelper<IfcPile,2>::Construct )
  901. , SchemaEntry("ifcpiletype",&STEP::ObjectHelper<IfcPileType,1>::Construct )
  902. , SchemaEntry("ifcpipefitting",&STEP::ObjectHelper<IfcPipeFitting,1>::Construct )
  903. , SchemaEntry("ifcpipefittingtype",&STEP::ObjectHelper<IfcPipeFittingType,1>::Construct )
  904. , SchemaEntry("ifcpipesegment",&STEP::ObjectHelper<IfcPipeSegment,1>::Construct )
  905. , SchemaEntry("ifcpipesegmenttype",&STEP::ObjectHelper<IfcPipeSegmentType,1>::Construct )
  906. , SchemaEntry("ifcpixeltexture",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  907. , SchemaEntry("ifcplanarextent",&STEP::ObjectHelper<IfcPlanarExtent,2>::Construct )
  908. , SchemaEntry("ifcplanarbox",&STEP::ObjectHelper<IfcPlanarBox,1>::Construct )
  909. , SchemaEntry("ifcplane",&STEP::ObjectHelper<IfcPlane,0>::Construct )
  910. , SchemaEntry("ifcplate",&STEP::ObjectHelper<IfcPlate,1>::Construct )
  911. , SchemaEntry("ifcplatestandardcase",&STEP::ObjectHelper<IfcPlateStandardCase,0>::Construct )
  912. , SchemaEntry("ifcplatetype",&STEP::ObjectHelper<IfcPlateType,1>::Construct )
  913. , SchemaEntry("ifcpointoncurve",&STEP::ObjectHelper<IfcPointOnCurve,2>::Construct )
  914. , SchemaEntry("ifcpointonsurface",&STEP::ObjectHelper<IfcPointOnSurface,3>::Construct )
  915. , SchemaEntry("ifcpolyloop",&STEP::ObjectHelper<IfcPolyLoop,1>::Construct )
  916. , SchemaEntry("ifcpolygonalboundedhalfspace",&STEP::ObjectHelper<IfcPolygonalBoundedHalfSpace,2>::Construct )
  917. , SchemaEntry("ifctessellatedfaceset",&STEP::ObjectHelper<IfcTessellatedFaceSet,1>::Construct )
  918. , SchemaEntry("ifcpolygonalfaceset",&STEP::ObjectHelper<IfcPolygonalFaceSet,3>::Construct )
  919. , SchemaEntry("ifcpolyline",&STEP::ObjectHelper<IfcPolyline,1>::Construct )
  920. , SchemaEntry("ifcpostaladdress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  921. , SchemaEntry("ifcpredefinedproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  922. , SchemaEntry("ifcpredefinedtextfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  923. , SchemaEntry("ifcpresentationlayerassignment",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  924. , SchemaEntry("ifcpresentationlayerwithstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  925. , SchemaEntry("ifcpresentationstyleassignment",&STEP::ObjectHelper<IfcPresentationStyleAssignment,1>::Construct )
  926. , SchemaEntry("ifcprocedure",&STEP::ObjectHelper<IfcProcedure,1>::Construct )
  927. , SchemaEntry("ifcproceduretype",&STEP::ObjectHelper<IfcProcedureType,1>::Construct )
  928. , SchemaEntry("ifcproductdefinitionshape",&STEP::ObjectHelper<IfcProductDefinitionShape,0>::Construct )
  929. , SchemaEntry("ifcprofileproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  930. , SchemaEntry("ifcproject",&STEP::ObjectHelper<IfcProject,0>::Construct )
  931. , SchemaEntry("ifcprojectlibrary",&STEP::ObjectHelper<IfcProjectLibrary,0>::Construct )
  932. , SchemaEntry("ifcprojectorder",&STEP::ObjectHelper<IfcProjectOrder,3>::Construct )
  933. , SchemaEntry("ifcprojectedcrs",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  934. , SchemaEntry("ifcprojectionelement",&STEP::ObjectHelper<IfcProjectionElement,1>::Construct )
  935. , SchemaEntry("ifcsimpleproperty",&STEP::ObjectHelper<IfcSimpleProperty,0>::Construct )
  936. , SchemaEntry("ifcpropertyboundedvalue",&STEP::ObjectHelper<IfcPropertyBoundedValue,4>::Construct )
  937. , SchemaEntry("ifcpropertydependencyrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  938. , SchemaEntry("ifcpropertyenumeratedvalue",&STEP::ObjectHelper<IfcPropertyEnumeratedValue,2>::Construct )
  939. , SchemaEntry("ifcpropertyenumeration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  940. , SchemaEntry("ifcpropertylistvalue",&STEP::ObjectHelper<IfcPropertyListValue,2>::Construct )
  941. , SchemaEntry("ifcpropertyreferencevalue",&STEP::ObjectHelper<IfcPropertyReferenceValue,2>::Construct )
  942. , SchemaEntry("ifcpropertyset",&STEP::ObjectHelper<IfcPropertySet,1>::Construct )
  943. , SchemaEntry("ifcpropertysettemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  944. , SchemaEntry("ifcpropertysinglevalue",&STEP::ObjectHelper<IfcPropertySingleValue,2>::Construct )
  945. , SchemaEntry("ifcpropertytablevalue",&STEP::ObjectHelper<IfcPropertyTableValue,6>::Construct )
  946. , SchemaEntry("ifcprotectivedevice",&STEP::ObjectHelper<IfcProtectiveDevice,1>::Construct )
  947. , SchemaEntry("ifcprotectivedevicetrippingunit",&STEP::ObjectHelper<IfcProtectiveDeviceTrippingUnit,1>::Construct )
  948. , SchemaEntry("ifcprotectivedevicetrippingunittype",&STEP::ObjectHelper<IfcProtectiveDeviceTrippingUnitType,1>::Construct )
  949. , SchemaEntry("ifcprotectivedevicetype",&STEP::ObjectHelper<IfcProtectiveDeviceType,1>::Construct )
  950. , SchemaEntry("ifcproxy",&STEP::ObjectHelper<IfcProxy,2>::Construct )
  951. , SchemaEntry("ifcpump",&STEP::ObjectHelper<IfcPump,1>::Construct )
  952. , SchemaEntry("ifcpumptype",&STEP::ObjectHelper<IfcPumpType,1>::Construct )
  953. , SchemaEntry("ifcquantityarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  954. , SchemaEntry("ifcquantitycount",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  955. , SchemaEntry("ifcquantitylength",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  956. , SchemaEntry("ifcquantitytime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  957. , SchemaEntry("ifcquantityvolume",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  958. , SchemaEntry("ifcquantityweight",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  959. , SchemaEntry("ifcrailing",&STEP::ObjectHelper<IfcRailing,1>::Construct )
  960. , SchemaEntry("ifcrailingtype",&STEP::ObjectHelper<IfcRailingType,1>::Construct )
  961. , SchemaEntry("ifcramp",&STEP::ObjectHelper<IfcRamp,1>::Construct )
  962. , SchemaEntry("ifcrampflight",&STEP::ObjectHelper<IfcRampFlight,1>::Construct )
  963. , SchemaEntry("ifcrampflighttype",&STEP::ObjectHelper<IfcRampFlightType,1>::Construct )
  964. , SchemaEntry("ifcramptype",&STEP::ObjectHelper<IfcRampType,1>::Construct )
  965. , SchemaEntry("ifcrationalbsplinecurvewithknots",&STEP::ObjectHelper<IfcRationalBSplineCurveWithKnots,1>::Construct )
  966. , SchemaEntry("ifcrationalbsplinesurfacewithknots",&STEP::ObjectHelper<IfcRationalBSplineSurfaceWithKnots,0>::Construct )
  967. , SchemaEntry("ifcrectangleprofiledef",&STEP::ObjectHelper<IfcRectangleProfileDef,2>::Construct )
  968. , SchemaEntry("ifcrectanglehollowprofiledef",&STEP::ObjectHelper<IfcRectangleHollowProfileDef,3>::Construct )
  969. , SchemaEntry("ifcrectangularpyramid",&STEP::ObjectHelper<IfcRectangularPyramid,3>::Construct )
  970. , SchemaEntry("ifcrectangulartrimmedsurface",&STEP::ObjectHelper<IfcRectangularTrimmedSurface,7>::Construct )
  971. , SchemaEntry("ifcrecurrencepattern",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  972. , SchemaEntry("ifcreference",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  973. , SchemaEntry("ifcregulartimeseries",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  974. , SchemaEntry("ifcreinforcementbarproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  975. , SchemaEntry("ifcreinforcementdefinitionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  976. , SchemaEntry("ifcreinforcingelement",&STEP::ObjectHelper<IfcReinforcingElement,1>::Construct )
  977. , SchemaEntry("ifcreinforcingbar",&STEP::ObjectHelper<IfcReinforcingBar,5>::Construct )
  978. , SchemaEntry("ifcreinforcingelementtype",&STEP::ObjectHelper<IfcReinforcingElementType,0>::Construct )
  979. , SchemaEntry("ifcreinforcingbartype",&STEP::ObjectHelper<IfcReinforcingBarType,7>::Construct )
  980. , SchemaEntry("ifcreinforcingmesh",&STEP::ObjectHelper<IfcReinforcingMesh,9>::Construct )
  981. , SchemaEntry("ifcreinforcingmeshtype",&STEP::ObjectHelper<IfcReinforcingMeshType,11>::Construct )
  982. , SchemaEntry("ifcrelationship",&STEP::ObjectHelper<IfcRelationship,0>::Construct )
  983. , SchemaEntry("ifcreldecomposes",&STEP::ObjectHelper<IfcRelDecomposes,0>::Construct )
  984. , SchemaEntry("ifcrelaggregates",&STEP::ObjectHelper<IfcRelAggregates,2>::Construct )
  985. , SchemaEntry("ifcrelassigns",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  986. , SchemaEntry("ifcrelassignstoactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  987. , SchemaEntry("ifcrelassignstocontrol",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  988. , SchemaEntry("ifcrelassignstogroup",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  989. , SchemaEntry("ifcrelassignstogroupbyfactor",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  990. , SchemaEntry("ifcrelassignstoprocess",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  991. , SchemaEntry("ifcrelassignstoproduct",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  992. , SchemaEntry("ifcrelassignstoresource",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  993. , SchemaEntry("ifcrelassociates",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  994. , SchemaEntry("ifcrelassociatesapproval",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  995. , SchemaEntry("ifcrelassociatesclassification",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  996. , SchemaEntry("ifcrelassociatesconstraint",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  997. , SchemaEntry("ifcrelassociatesdocument",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  998. , SchemaEntry("ifcrelassociateslibrary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  999. , SchemaEntry("ifcrelassociatesmaterial",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1000. , SchemaEntry("ifcrelconnects",&STEP::ObjectHelper<IfcRelConnects,0>::Construct )
  1001. , SchemaEntry("ifcrelconnectselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1002. , SchemaEntry("ifcrelconnectspathelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1003. , SchemaEntry("ifcrelconnectsporttoelement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1004. , SchemaEntry("ifcrelconnectsports",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1005. , SchemaEntry("ifcrelconnectsstructuralactivity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1006. , SchemaEntry("ifcrelconnectsstructuralmember",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1007. , SchemaEntry("ifcrelconnectswitheccentricity",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1008. , SchemaEntry("ifcrelconnectswithrealizingelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1009. , SchemaEntry("ifcrelcontainedinspatialstructure",&STEP::ObjectHelper<IfcRelContainedInSpatialStructure,2>::Construct )
  1010. , SchemaEntry("ifcrelcoversbldgelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1011. , SchemaEntry("ifcrelcoversspaces",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1012. , SchemaEntry("ifcreldeclares",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1013. , SchemaEntry("ifcreldefines",&STEP::ObjectHelper<IfcRelDefines,0>::Construct )
  1014. , SchemaEntry("ifcreldefinesbyobject",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1015. , SchemaEntry("ifcreldefinesbyproperties",&STEP::ObjectHelper<IfcRelDefinesByProperties,2>::Construct )
  1016. , SchemaEntry("ifcreldefinesbytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1017. , SchemaEntry("ifcreldefinesbytype",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1018. , SchemaEntry("ifcrelfillselement",&STEP::ObjectHelper<IfcRelFillsElement,2>::Construct )
  1019. , SchemaEntry("ifcrelflowcontrolelements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1020. , SchemaEntry("ifcrelinterfereselements",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1021. , SchemaEntry("ifcrelnests",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1022. , SchemaEntry("ifcrelprojectselement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1023. , SchemaEntry("ifcrelreferencedinspatialstructure",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1024. , SchemaEntry("ifcrelsequence",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1025. , SchemaEntry("ifcrelservicesbuildings",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1026. , SchemaEntry("ifcrelspaceboundary",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1027. , SchemaEntry("ifcrelspaceboundary1stlevel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1028. , SchemaEntry("ifcrelspaceboundary2ndlevel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1029. , SchemaEntry("ifcrelvoidselement",&STEP::ObjectHelper<IfcRelVoidsElement,2>::Construct )
  1030. , SchemaEntry("ifcreparametrisedcompositecurvesegment",&STEP::ObjectHelper<IfcReparametrisedCompositeCurveSegment,1>::Construct )
  1031. , SchemaEntry("ifcrepresentation",&STEP::ObjectHelper<IfcRepresentation,4>::Construct )
  1032. , SchemaEntry("ifcrepresentationmap",&STEP::ObjectHelper<IfcRepresentationMap,2>::Construct )
  1033. , SchemaEntry("ifcresourceapprovalrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1034. , SchemaEntry("ifcresourceconstraintrelationship",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1035. , SchemaEntry("ifcresourcetime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1036. , SchemaEntry("ifcrevolvedareasolid",&STEP::ObjectHelper<IfcRevolvedAreaSolid,2>::Construct )
  1037. , SchemaEntry("ifcrevolvedareasolidtapered",&STEP::ObjectHelper<IfcRevolvedAreaSolidTapered,1>::Construct )
  1038. , SchemaEntry("ifcrightcircularcone",&STEP::ObjectHelper<IfcRightCircularCone,2>::Construct )
  1039. , SchemaEntry("ifcrightcircularcylinder",&STEP::ObjectHelper<IfcRightCircularCylinder,2>::Construct )
  1040. , SchemaEntry("ifcroof",&STEP::ObjectHelper<IfcRoof,1>::Construct )
  1041. , SchemaEntry("ifcrooftype",&STEP::ObjectHelper<IfcRoofType,1>::Construct )
  1042. , SchemaEntry("ifcroundedrectangleprofiledef",&STEP::ObjectHelper<IfcRoundedRectangleProfileDef,1>::Construct )
  1043. , SchemaEntry("ifcsiunit",&STEP::ObjectHelper<IfcSIUnit,2>::Construct )
  1044. , SchemaEntry("ifcsanitaryterminal",&STEP::ObjectHelper<IfcSanitaryTerminal,1>::Construct )
  1045. , SchemaEntry("ifcsanitaryterminaltype",&STEP::ObjectHelper<IfcSanitaryTerminalType,1>::Construct )
  1046. , SchemaEntry("ifcseamcurve",&STEP::ObjectHelper<IfcSeamCurve,0>::Construct )
  1047. , SchemaEntry("ifcsectionproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1048. , SchemaEntry("ifcsectionreinforcementproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1049. , SchemaEntry("ifcsectionedspine",&STEP::ObjectHelper<IfcSectionedSpine,3>::Construct )
  1050. , SchemaEntry("ifcsensor",&STEP::ObjectHelper<IfcSensor,1>::Construct )
  1051. , SchemaEntry("ifcsensortype",&STEP::ObjectHelper<IfcSensorType,1>::Construct )
  1052. , SchemaEntry("ifcshadingdevice",&STEP::ObjectHelper<IfcShadingDevice,1>::Construct )
  1053. , SchemaEntry("ifcshadingdevicetype",&STEP::ObjectHelper<IfcShadingDeviceType,1>::Construct )
  1054. , SchemaEntry("ifcshapeaspect",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1055. , SchemaEntry("ifcshapemodel",&STEP::ObjectHelper<IfcShapeModel,0>::Construct )
  1056. , SchemaEntry("ifcshaperepresentation",&STEP::ObjectHelper<IfcShapeRepresentation,0>::Construct )
  1057. , SchemaEntry("ifcshellbasedsurfacemodel",&STEP::ObjectHelper<IfcShellBasedSurfaceModel,1>::Construct )
  1058. , SchemaEntry("ifcsimplepropertytemplate",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1059. , SchemaEntry("ifcsite",&STEP::ObjectHelper<IfcSite,5>::Construct )
  1060. , SchemaEntry("ifcslab",&STEP::ObjectHelper<IfcSlab,1>::Construct )
  1061. , SchemaEntry("ifcslabelementedcase",&STEP::ObjectHelper<IfcSlabElementedCase,0>::Construct )
  1062. , SchemaEntry("ifcslabstandardcase",&STEP::ObjectHelper<IfcSlabStandardCase,0>::Construct )
  1063. , SchemaEntry("ifcslabtype",&STEP::ObjectHelper<IfcSlabType,1>::Construct )
  1064. , SchemaEntry("ifcslippageconnectioncondition",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1065. , SchemaEntry("ifcsolardevice",&STEP::ObjectHelper<IfcSolarDevice,1>::Construct )
  1066. , SchemaEntry("ifcsolardevicetype",&STEP::ObjectHelper<IfcSolarDeviceType,1>::Construct )
  1067. , SchemaEntry("ifcspace",&STEP::ObjectHelper<IfcSpace,2>::Construct )
  1068. , SchemaEntry("ifcspaceheater",&STEP::ObjectHelper<IfcSpaceHeater,1>::Construct )
  1069. , SchemaEntry("ifcspaceheatertype",&STEP::ObjectHelper<IfcSpaceHeaterType,1>::Construct )
  1070. , SchemaEntry("ifcspatialelementtype",&STEP::ObjectHelper<IfcSpatialElementType,1>::Construct )
  1071. , SchemaEntry("ifcspatialstructureelementtype",&STEP::ObjectHelper<IfcSpatialStructureElementType,0>::Construct )
  1072. , SchemaEntry("ifcspacetype",&STEP::ObjectHelper<IfcSpaceType,2>::Construct )
  1073. , SchemaEntry("ifcspatialzone",&STEP::ObjectHelper<IfcSpatialZone,1>::Construct )
  1074. , SchemaEntry("ifcspatialzonetype",&STEP::ObjectHelper<IfcSpatialZoneType,2>::Construct )
  1075. , SchemaEntry("ifcsphere",&STEP::ObjectHelper<IfcSphere,1>::Construct )
  1076. , SchemaEntry("ifcsphericalsurface",&STEP::ObjectHelper<IfcSphericalSurface,1>::Construct )
  1077. , SchemaEntry("ifcstackterminal",&STEP::ObjectHelper<IfcStackTerminal,1>::Construct )
  1078. , SchemaEntry("ifcstackterminaltype",&STEP::ObjectHelper<IfcStackTerminalType,1>::Construct )
  1079. , SchemaEntry("ifcstair",&STEP::ObjectHelper<IfcStair,1>::Construct )
  1080. , SchemaEntry("ifcstairflight",&STEP::ObjectHelper<IfcStairFlight,5>::Construct )
  1081. , SchemaEntry("ifcstairflighttype",&STEP::ObjectHelper<IfcStairFlightType,1>::Construct )
  1082. , SchemaEntry("ifcstairtype",&STEP::ObjectHelper<IfcStairType,1>::Construct )
  1083. , SchemaEntry("ifcstructuralactivity",&STEP::ObjectHelper<IfcStructuralActivity,2>::Construct )
  1084. , SchemaEntry("ifcstructuralaction",&STEP::ObjectHelper<IfcStructuralAction,1>::Construct )
  1085. , SchemaEntry("ifcstructuralanalysismodel",&STEP::ObjectHelper<IfcStructuralAnalysisModel,5>::Construct )
  1086. , SchemaEntry("ifcstructuralitem",&STEP::ObjectHelper<IfcStructuralItem,0>::Construct )
  1087. , SchemaEntry("ifcstructuralconnection",&STEP::ObjectHelper<IfcStructuralConnection,1>::Construct )
  1088. , SchemaEntry("ifcstructuralcurveaction",&STEP::ObjectHelper<IfcStructuralCurveAction,2>::Construct )
  1089. , SchemaEntry("ifcstructuralcurveconnection",&STEP::ObjectHelper<IfcStructuralCurveConnection,1>::Construct )
  1090. , SchemaEntry("ifcstructuralmember",&STEP::ObjectHelper<IfcStructuralMember,0>::Construct )
  1091. , SchemaEntry("ifcstructuralcurvemember",&STEP::ObjectHelper<IfcStructuralCurveMember,2>::Construct )
  1092. , SchemaEntry("ifcstructuralcurvemembervarying",&STEP::ObjectHelper<IfcStructuralCurveMemberVarying,0>::Construct )
  1093. , SchemaEntry("ifcstructuralreaction",&STEP::ObjectHelper<IfcStructuralReaction,0>::Construct )
  1094. , SchemaEntry("ifcstructuralcurvereaction",&STEP::ObjectHelper<IfcStructuralCurveReaction,1>::Construct )
  1095. , SchemaEntry("ifcstructurallinearaction",&STEP::ObjectHelper<IfcStructuralLinearAction,0>::Construct )
  1096. , SchemaEntry("ifcstructuralload",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1097. , SchemaEntry("ifcstructuralloadgroup",&STEP::ObjectHelper<IfcStructuralLoadGroup,5>::Construct )
  1098. , SchemaEntry("ifcstructuralloadcase",&STEP::ObjectHelper<IfcStructuralLoadCase,1>::Construct )
  1099. , SchemaEntry("ifcstructuralloadconfiguration",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1100. , SchemaEntry("ifcstructuralloadorresult",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1101. , SchemaEntry("ifcstructuralloadstatic",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1102. , SchemaEntry("ifcstructuralloadlinearforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1103. , SchemaEntry("ifcstructuralloadplanarforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1104. , SchemaEntry("ifcstructuralloadsingledisplacement",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1105. , SchemaEntry("ifcstructuralloadsingledisplacementdistortion",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1106. , SchemaEntry("ifcstructuralloadsingleforce",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1107. , SchemaEntry("ifcstructuralloadsingleforcewarping",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1108. , SchemaEntry("ifcstructuralloadtemperature",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1109. , SchemaEntry("ifcstructuralsurfaceaction",&STEP::ObjectHelper<IfcStructuralSurfaceAction,2>::Construct )
  1110. , SchemaEntry("ifcstructuralplanaraction",&STEP::ObjectHelper<IfcStructuralPlanarAction,0>::Construct )
  1111. , SchemaEntry("ifcstructuralpointaction",&STEP::ObjectHelper<IfcStructuralPointAction,0>::Construct )
  1112. , SchemaEntry("ifcstructuralpointconnection",&STEP::ObjectHelper<IfcStructuralPointConnection,1>::Construct )
  1113. , SchemaEntry("ifcstructuralpointreaction",&STEP::ObjectHelper<IfcStructuralPointReaction,0>::Construct )
  1114. , SchemaEntry("ifcstructuralresultgroup",&STEP::ObjectHelper<IfcStructuralResultGroup,3>::Construct )
  1115. , SchemaEntry("ifcstructuralsurfaceconnection",&STEP::ObjectHelper<IfcStructuralSurfaceConnection,0>::Construct )
  1116. , SchemaEntry("ifcstructuralsurfacemember",&STEP::ObjectHelper<IfcStructuralSurfaceMember,2>::Construct )
  1117. , SchemaEntry("ifcstructuralsurfacemembervarying",&STEP::ObjectHelper<IfcStructuralSurfaceMemberVarying,0>::Construct )
  1118. , SchemaEntry("ifcstructuralsurfacereaction",&STEP::ObjectHelper<IfcStructuralSurfaceReaction,1>::Construct )
  1119. , SchemaEntry("ifcstylemodel",&STEP::ObjectHelper<IfcStyleModel,0>::Construct )
  1120. , SchemaEntry("ifcstyleditem",&STEP::ObjectHelper<IfcStyledItem,3>::Construct )
  1121. , SchemaEntry("ifcstyledrepresentation",&STEP::ObjectHelper<IfcStyledRepresentation,0>::Construct )
  1122. , SchemaEntry("ifcsubcontractresource",&STEP::ObjectHelper<IfcSubContractResource,1>::Construct )
  1123. , SchemaEntry("ifcsubcontractresourcetype",&STEP::ObjectHelper<IfcSubContractResourceType,1>::Construct )
  1124. , SchemaEntry("ifcsubedge",&STEP::ObjectHelper<IfcSubedge,1>::Construct )
  1125. , SchemaEntry("ifcsurfacecurvesweptareasolid",&STEP::ObjectHelper<IfcSurfaceCurveSweptAreaSolid,4>::Construct )
  1126. , SchemaEntry("ifcsurfacefeature",&STEP::ObjectHelper<IfcSurfaceFeature,1>::Construct )
  1127. , SchemaEntry("ifcsweptsurface",&STEP::ObjectHelper<IfcSweptSurface,2>::Construct )
  1128. , SchemaEntry("ifcsurfaceoflinearextrusion",&STEP::ObjectHelper<IfcSurfaceOfLinearExtrusion,2>::Construct )
  1129. , SchemaEntry("ifcsurfaceofrevolution",&STEP::ObjectHelper<IfcSurfaceOfRevolution,1>::Construct )
  1130. , SchemaEntry("ifcsurfacereinforcementarea",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1131. , SchemaEntry("ifcsurfacestyle",&STEP::ObjectHelper<IfcSurfaceStyle,2>::Construct )
  1132. , SchemaEntry("ifcsurfacestylelighting",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1133. , SchemaEntry("ifcsurfacestylerefraction",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1134. , SchemaEntry("ifcsurfacestyleshading",&STEP::ObjectHelper<IfcSurfaceStyleShading,2>::Construct )
  1135. , SchemaEntry("ifcsurfacestylerendering",&STEP::ObjectHelper<IfcSurfaceStyleRendering,7>::Construct )
  1136. , SchemaEntry("ifcsurfacestylewithtextures",&STEP::ObjectHelper<IfcSurfaceStyleWithTextures,1>::Construct )
  1137. , SchemaEntry("ifcsweptdisksolid",&STEP::ObjectHelper<IfcSweptDiskSolid,5>::Construct )
  1138. , SchemaEntry("ifcsweptdisksolidpolygonal",&STEP::ObjectHelper<IfcSweptDiskSolidPolygonal,1>::Construct )
  1139. , SchemaEntry("ifcswitchingdevice",&STEP::ObjectHelper<IfcSwitchingDevice,1>::Construct )
  1140. , SchemaEntry("ifcswitchingdevicetype",&STEP::ObjectHelper<IfcSwitchingDeviceType,1>::Construct )
  1141. , SchemaEntry("ifcsystemfurnitureelement",&STEP::ObjectHelper<IfcSystemFurnitureElement,1>::Construct )
  1142. , SchemaEntry("ifcsystemfurnitureelementtype",&STEP::ObjectHelper<IfcSystemFurnitureElementType,1>::Construct )
  1143. , SchemaEntry("ifctshapeprofiledef",&STEP::ObjectHelper<IfcTShapeProfileDef,9>::Construct )
  1144. , SchemaEntry("ifctable",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1145. , SchemaEntry("ifctablecolumn",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1146. , SchemaEntry("ifctablerow",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1147. , SchemaEntry("ifctank",&STEP::ObjectHelper<IfcTank,1>::Construct )
  1148. , SchemaEntry("ifctanktype",&STEP::ObjectHelper<IfcTankType,1>::Construct )
  1149. , SchemaEntry("ifctask",&STEP::ObjectHelper<IfcTask,6>::Construct )
  1150. , SchemaEntry("ifctasktime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1151. , SchemaEntry("ifctasktimerecurring",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1152. , SchemaEntry("ifctasktype",&STEP::ObjectHelper<IfcTaskType,2>::Construct )
  1153. , SchemaEntry("ifctelecomaddress",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1154. , SchemaEntry("ifctendon",&STEP::ObjectHelper<IfcTendon,8>::Construct )
  1155. , SchemaEntry("ifctendonanchor",&STEP::ObjectHelper<IfcTendonAnchor,1>::Construct )
  1156. , SchemaEntry("ifctendonanchortype",&STEP::ObjectHelper<IfcTendonAnchorType,1>::Construct )
  1157. , SchemaEntry("ifctendontype",&STEP::ObjectHelper<IfcTendonType,4>::Construct )
  1158. , SchemaEntry("ifctextliteral",&STEP::ObjectHelper<IfcTextLiteral,3>::Construct )
  1159. , SchemaEntry("ifctextliteralwithextent",&STEP::ObjectHelper<IfcTextLiteralWithExtent,2>::Construct )
  1160. , SchemaEntry("ifctextstyle",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1161. , SchemaEntry("ifctextstylefontmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1162. , SchemaEntry("ifctextstylefordefinedfont",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1163. , SchemaEntry("ifctextstyletextmodel",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1164. , SchemaEntry("ifctexturecoordinategenerator",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1165. , SchemaEntry("ifctexturemap",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1166. , SchemaEntry("ifctexturevertex",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1167. , SchemaEntry("ifctexturevertexlist",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1168. , SchemaEntry("ifctimeperiod",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1169. , SchemaEntry("ifctimeseriesvalue",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1170. , SchemaEntry("ifctopologyrepresentation",&STEP::ObjectHelper<IfcTopologyRepresentation,0>::Construct )
  1171. , SchemaEntry("ifctoroidalsurface",&STEP::ObjectHelper<IfcToroidalSurface,2>::Construct )
  1172. , SchemaEntry("ifctransformer",&STEP::ObjectHelper<IfcTransformer,1>::Construct )
  1173. , SchemaEntry("ifctransformertype",&STEP::ObjectHelper<IfcTransformerType,1>::Construct )
  1174. , SchemaEntry("ifctransportelement",&STEP::ObjectHelper<IfcTransportElement,1>::Construct )
  1175. , SchemaEntry("ifctransportelementtype",&STEP::ObjectHelper<IfcTransportElementType,1>::Construct )
  1176. , SchemaEntry("ifctrapeziumprofiledef",&STEP::ObjectHelper<IfcTrapeziumProfileDef,4>::Construct )
  1177. , SchemaEntry("ifctriangulatedfaceset",&STEP::ObjectHelper<IfcTriangulatedFaceSet,2>::Construct )
  1178. , SchemaEntry("ifctrimmedcurve",&STEP::ObjectHelper<IfcTrimmedCurve,5>::Construct )
  1179. , SchemaEntry("ifctubebundle",&STEP::ObjectHelper<IfcTubeBundle,1>::Construct )
  1180. , SchemaEntry("ifctubebundletype",&STEP::ObjectHelper<IfcTubeBundleType,1>::Construct )
  1181. , SchemaEntry("ifcushapeprofiledef",&STEP::ObjectHelper<IfcUShapeProfileDef,7>::Construct )
  1182. , SchemaEntry("ifcunitassignment",&STEP::ObjectHelper<IfcUnitAssignment,1>::Construct )
  1183. , SchemaEntry("ifcunitarycontrolelement",&STEP::ObjectHelper<IfcUnitaryControlElement,1>::Construct )
  1184. , SchemaEntry("ifcunitarycontrolelementtype",&STEP::ObjectHelper<IfcUnitaryControlElementType,1>::Construct )
  1185. , SchemaEntry("ifcunitaryequipment",&STEP::ObjectHelper<IfcUnitaryEquipment,1>::Construct )
  1186. , SchemaEntry("ifcunitaryequipmenttype",&STEP::ObjectHelper<IfcUnitaryEquipmentType,1>::Construct )
  1187. , SchemaEntry("ifcvalve",&STEP::ObjectHelper<IfcValve,1>::Construct )
  1188. , SchemaEntry("ifcvalvetype",&STEP::ObjectHelper<IfcValveType,1>::Construct )
  1189. , SchemaEntry("ifcvector",&STEP::ObjectHelper<IfcVector,2>::Construct )
  1190. , SchemaEntry("ifcvertex",&STEP::ObjectHelper<IfcVertex,0>::Construct )
  1191. , SchemaEntry("ifcvertexloop",&STEP::ObjectHelper<IfcVertexLoop,1>::Construct )
  1192. , SchemaEntry("ifcvertexpoint",&STEP::ObjectHelper<IfcVertexPoint,1>::Construct )
  1193. , SchemaEntry("ifcvibrationisolator",&STEP::ObjectHelper<IfcVibrationIsolator,1>::Construct )
  1194. , SchemaEntry("ifcvibrationisolatortype",&STEP::ObjectHelper<IfcVibrationIsolatorType,1>::Construct )
  1195. , SchemaEntry("ifcvirtualelement",&STEP::ObjectHelper<IfcVirtualElement,0>::Construct )
  1196. , SchemaEntry("ifcvirtualgridintersection",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1197. , SchemaEntry("ifcvoidingfeature",&STEP::ObjectHelper<IfcVoidingFeature,1>::Construct )
  1198. , SchemaEntry("ifcwall",&STEP::ObjectHelper<IfcWall,1>::Construct )
  1199. , SchemaEntry("ifcwallelementedcase",&STEP::ObjectHelper<IfcWallElementedCase,0>::Construct )
  1200. , SchemaEntry("ifcwallstandardcase",&STEP::ObjectHelper<IfcWallStandardCase,0>::Construct )
  1201. , SchemaEntry("ifcwalltype",&STEP::ObjectHelper<IfcWallType,1>::Construct )
  1202. , SchemaEntry("ifcwasteterminal",&STEP::ObjectHelper<IfcWasteTerminal,1>::Construct )
  1203. , SchemaEntry("ifcwasteterminaltype",&STEP::ObjectHelper<IfcWasteTerminalType,1>::Construct )
  1204. , SchemaEntry("ifcwindow",&STEP::ObjectHelper<IfcWindow,5>::Construct )
  1205. , SchemaEntry("ifcwindowliningproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1206. , SchemaEntry("ifcwindowpanelproperties",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1207. , SchemaEntry("ifcwindowstandardcase",&STEP::ObjectHelper<IfcWindowStandardCase,0>::Construct )
  1208. , SchemaEntry("ifcwindowstyle",&STEP::ObjectHelper<IfcWindowStyle,4>::Construct )
  1209. , SchemaEntry("ifcwindowtype",&STEP::ObjectHelper<IfcWindowType,4>::Construct )
  1210. , SchemaEntry("ifcworkcalendar",&STEP::ObjectHelper<IfcWorkCalendar,3>::Construct )
  1211. , SchemaEntry("ifcworkcontrol",&STEP::ObjectHelper<IfcWorkControl,7>::Construct )
  1212. , SchemaEntry("ifcworkplan",&STEP::ObjectHelper<IfcWorkPlan,1>::Construct )
  1213. , SchemaEntry("ifcworkschedule",&STEP::ObjectHelper<IfcWorkSchedule,1>::Construct )
  1214. , SchemaEntry("ifcworktime",&STEP::ObjectHelper<NotImplemented,0>::Construct )
  1215. , SchemaEntry("ifczshapeprofiledef",&STEP::ObjectHelper<IfcZShapeProfileDef,6>::Construct )
  1216. , SchemaEntry("ifczone",&STEP::ObjectHelper<IfcZone,1>::Construct )
  1217. };
  1218. }
  1219. // -----------------------------------------------------------------------------------------------------------
  1220. void IFC::GetSchema(EXPRESS::ConversionSchema& out)
  1221. {
  1222. out = EXPRESS::ConversionSchema(schema_raw);
  1223. }
  1224. namespace STEP {
  1225. // -----------------------------------------------------------------------------------------------------------
  1226. template <> size_t GenericFill<NotImplemented>(const STEP::DB& db, const LIST& params, NotImplemented* in)
  1227. {
  1228. return 0;
  1229. }
  1230. // -----------------------------------------------------------------------------------------------------------
  1231. template <> size_t GenericFill<IfcRoot>(const DB& db, const LIST& params, IfcRoot* in)
  1232. {
  1233. size_t base = 0;
  1234. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRoot"); } do { // convert the 'GlobalId' argument
  1235. boost::shared_ptr<const DataType> arg = params[base++];
  1236. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[0]=true; break; }
  1237. try { GenericConvert( in->GlobalId, arg, db ); break; }
  1238. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRoot to be a `IfcGloballyUniqueId`")); }
  1239. } while(0);
  1240. do { // convert the 'OwnerHistory' argument
  1241. boost::shared_ptr<const DataType> arg = params[base++];
  1242. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[1]=true; break; }
  1243. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1244. try { GenericConvert( in->OwnerHistory, arg, db ); break; }
  1245. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRoot to be a `IfcOwnerHistory`")); }
  1246. } while(0);
  1247. do { // convert the 'Name' argument
  1248. boost::shared_ptr<const DataType> arg = params[base++];
  1249. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[2]=true; break; }
  1250. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1251. try { GenericConvert( in->Name, arg, db ); break; }
  1252. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRoot to be a `IfcLabel`")); }
  1253. } while(0);
  1254. do { // convert the 'Description' argument
  1255. boost::shared_ptr<const DataType> arg = params[base++];
  1256. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRoot,4>::aux_is_derived[3]=true; break; }
  1257. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1258. try { GenericConvert( in->Description, arg, db ); break; }
  1259. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRoot to be a `IfcText`")); }
  1260. } while(0);
  1261. return base;
  1262. }
  1263. // -----------------------------------------------------------------------------------------------------------
  1264. template <> size_t GenericFill<IfcObjectDefinition>(const DB& db, const LIST& params, IfcObjectDefinition* in)
  1265. {
  1266. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  1267. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcObjectDefinition"); } return base;
  1268. }
  1269. // -----------------------------------------------------------------------------------------------------------
  1270. template <> size_t GenericFill<IfcObject>(const DB& db, const LIST& params, IfcObject* in)
  1271. {
  1272. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1273. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcObject"); } do { // convert the 'ObjectType' argument
  1274. boost::shared_ptr<const DataType> arg = params[base++];
  1275. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcObject,1>::aux_is_derived[0]=true; break; }
  1276. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1277. try { GenericConvert( in->ObjectType, arg, db ); break; }
  1278. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcObject to be a `IfcLabel`")); }
  1279. } while(0);
  1280. return base;
  1281. }
  1282. // -----------------------------------------------------------------------------------------------------------
  1283. template <> size_t GenericFill<IfcControl>(const DB& db, const LIST& params, IfcControl* in)
  1284. {
  1285. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1286. // this data structure is not used yet, so there is no code generated to fill its members
  1287. return base;
  1288. }
  1289. // -----------------------------------------------------------------------------------------------------------
  1290. template <> size_t GenericFill<IfcActionRequest>(const DB& db, const LIST& params, IfcActionRequest* in)
  1291. {
  1292. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  1293. // this data structure is not used yet, so there is no code generated to fill its members
  1294. return base;
  1295. }
  1296. // -----------------------------------------------------------------------------------------------------------
  1297. template <> size_t GenericFill<IfcActor>(const DB& db, const LIST& params, IfcActor* in)
  1298. {
  1299. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1300. // this data structure is not used yet, so there is no code generated to fill its members
  1301. return base;
  1302. }
  1303. // -----------------------------------------------------------------------------------------------------------
  1304. template <> size_t GenericFill<IfcProduct>(const DB& db, const LIST& params, IfcProduct* in)
  1305. {
  1306. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1307. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcProduct"); } do { // convert the 'ObjectPlacement' argument
  1308. boost::shared_ptr<const DataType> arg = params[base++];
  1309. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[0]=true; break; }
  1310. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1311. try { GenericConvert( in->ObjectPlacement, arg, db ); break; }
  1312. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcProduct to be a `IfcObjectPlacement`")); }
  1313. } while(0);
  1314. do { // convert the 'Representation' argument
  1315. boost::shared_ptr<const DataType> arg = params[base++];
  1316. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProduct,2>::aux_is_derived[1]=true; break; }
  1317. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1318. try { GenericConvert( in->Representation, arg, db ); break; }
  1319. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcProduct to be a `IfcProductRepresentation`")); }
  1320. } while(0);
  1321. return base;
  1322. }
  1323. // -----------------------------------------------------------------------------------------------------------
  1324. template <> size_t GenericFill<IfcElement>(const DB& db, const LIST& params, IfcElement* in)
  1325. {
  1326. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1327. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcElement"); } do { // convert the 'Tag' argument
  1328. boost::shared_ptr<const DataType> arg = params[base++];
  1329. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElement,1>::aux_is_derived[0]=true; break; }
  1330. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1331. try { GenericConvert( in->Tag, arg, db ); break; }
  1332. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcElement to be a `IfcIdentifier`")); }
  1333. } while(0);
  1334. return base;
  1335. }
  1336. // -----------------------------------------------------------------------------------------------------------
  1337. template <> size_t GenericFill<IfcDistributionElement>(const DB& db, const LIST& params, IfcDistributionElement* in)
  1338. {
  1339. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1340. // this data structure is not used yet, so there is no code generated to fill its members
  1341. return base;
  1342. }
  1343. // -----------------------------------------------------------------------------------------------------------
  1344. template <> size_t GenericFill<IfcDistributionControlElement>(const DB& db, const LIST& params, IfcDistributionControlElement* in)
  1345. {
  1346. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  1347. // this data structure is not used yet, so there is no code generated to fill its members
  1348. return base;
  1349. }
  1350. // -----------------------------------------------------------------------------------------------------------
  1351. template <> size_t GenericFill<IfcActuator>(const DB& db, const LIST& params, IfcActuator* in)
  1352. {
  1353. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  1354. // this data structure is not used yet, so there is no code generated to fill its members
  1355. return base;
  1356. }
  1357. // -----------------------------------------------------------------------------------------------------------
  1358. template <> size_t GenericFill<IfcTypeObject>(const DB& db, const LIST& params, IfcTypeObject* in)
  1359. {
  1360. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  1361. // this data structure is not used yet, so there is no code generated to fill its members
  1362. return base;
  1363. }
  1364. // -----------------------------------------------------------------------------------------------------------
  1365. template <> size_t GenericFill<IfcTypeProduct>(const DB& db, const LIST& params, IfcTypeProduct* in)
  1366. {
  1367. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  1368. // this data structure is not used yet, so there is no code generated to fill its members
  1369. return base;
  1370. }
  1371. // -----------------------------------------------------------------------------------------------------------
  1372. template <> size_t GenericFill<IfcElementType>(const DB& db, const LIST& params, IfcElementType* in)
  1373. {
  1374. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  1375. // this data structure is not used yet, so there is no code generated to fill its members
  1376. return base;
  1377. }
  1378. // -----------------------------------------------------------------------------------------------------------
  1379. template <> size_t GenericFill<IfcDistributionElementType>(const DB& db, const LIST& params, IfcDistributionElementType* in)
  1380. {
  1381. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  1382. // this data structure is not used yet, so there is no code generated to fill its members
  1383. return base;
  1384. }
  1385. // -----------------------------------------------------------------------------------------------------------
  1386. template <> size_t GenericFill<IfcDistributionControlElementType>(const DB& db, const LIST& params, IfcDistributionControlElementType* in)
  1387. {
  1388. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1389. // this data structure is not used yet, so there is no code generated to fill its members
  1390. return base;
  1391. }
  1392. // -----------------------------------------------------------------------------------------------------------
  1393. template <> size_t GenericFill<IfcActuatorType>(const DB& db, const LIST& params, IfcActuatorType* in)
  1394. {
  1395. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1396. // this data structure is not used yet, so there is no code generated to fill its members
  1397. return base;
  1398. }
  1399. // -----------------------------------------------------------------------------------------------------------
  1400. template <> size_t GenericFill<IfcRepresentationItem>(const DB& db, const LIST& params, IfcRepresentationItem* in)
  1401. {
  1402. size_t base = 0;
  1403. return base;
  1404. }
  1405. // -----------------------------------------------------------------------------------------------------------
  1406. template <> size_t GenericFill<IfcGeometricRepresentationItem>(const DB& db, const LIST& params, IfcGeometricRepresentationItem* in)
  1407. {
  1408. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1409. return base;
  1410. }
  1411. // -----------------------------------------------------------------------------------------------------------
  1412. template <> size_t GenericFill<IfcSolidModel>(const DB& db, const LIST& params, IfcSolidModel* in)
  1413. {
  1414. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1415. return base;
  1416. }
  1417. // -----------------------------------------------------------------------------------------------------------
  1418. template <> size_t GenericFill<IfcManifoldSolidBrep>(const DB& db, const LIST& params, IfcManifoldSolidBrep* in)
  1419. {
  1420. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  1421. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcManifoldSolidBrep"); } do { // convert the 'Outer' argument
  1422. boost::shared_ptr<const DataType> arg = params[base++];
  1423. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcManifoldSolidBrep,1>::aux_is_derived[0]=true; break; }
  1424. try { GenericConvert( in->Outer, arg, db ); break; }
  1425. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcManifoldSolidBrep to be a `IfcClosedShell`")); }
  1426. } while(0);
  1427. return base;
  1428. }
  1429. // -----------------------------------------------------------------------------------------------------------
  1430. template <> size_t GenericFill<IfcAdvancedBrep>(const DB& db, const LIST& params, IfcAdvancedBrep* in)
  1431. {
  1432. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  1433. // this data structure is not used yet, so there is no code generated to fill its members
  1434. return base;
  1435. }
  1436. // -----------------------------------------------------------------------------------------------------------
  1437. template <> size_t GenericFill<IfcAdvancedBrepWithVoids>(const DB& db, const LIST& params, IfcAdvancedBrepWithVoids* in)
  1438. {
  1439. size_t base = GenericFill(db,params,static_cast<IfcAdvancedBrep*>(in));
  1440. // this data structure is not used yet, so there is no code generated to fill its members
  1441. return base;
  1442. }
  1443. // -----------------------------------------------------------------------------------------------------------
  1444. template <> size_t GenericFill<IfcTopologicalRepresentationItem>(const DB& db, const LIST& params, IfcTopologicalRepresentationItem* in)
  1445. {
  1446. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  1447. return base;
  1448. }
  1449. // -----------------------------------------------------------------------------------------------------------
  1450. template <> size_t GenericFill<IfcFace>(const DB& db, const LIST& params, IfcFace* in)
  1451. {
  1452. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  1453. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFace"); } do { // convert the 'Bounds' argument
  1454. boost::shared_ptr<const DataType> arg = params[base++];
  1455. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFace,1>::aux_is_derived[0]=true; break; }
  1456. try { GenericConvert( in->Bounds, arg, db ); break; }
  1457. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFace to be a `SET [1:?] OF IfcFaceBound`")); }
  1458. } while(0);
  1459. return base;
  1460. }
  1461. // -----------------------------------------------------------------------------------------------------------
  1462. template <> size_t GenericFill<IfcFaceSurface>(const DB& db, const LIST& params, IfcFaceSurface* in)
  1463. {
  1464. size_t base = GenericFill(db,params,static_cast<IfcFace*>(in));
  1465. // this data structure is not used yet, so there is no code generated to fill its members
  1466. return base;
  1467. }
  1468. // -----------------------------------------------------------------------------------------------------------
  1469. template <> size_t GenericFill<IfcAdvancedFace>(const DB& db, const LIST& params, IfcAdvancedFace* in)
  1470. {
  1471. size_t base = GenericFill(db,params,static_cast<IfcFaceSurface*>(in));
  1472. // this data structure is not used yet, so there is no code generated to fill its members
  1473. return base;
  1474. }
  1475. // -----------------------------------------------------------------------------------------------------------
  1476. template <> size_t GenericFill<IfcDistributionFlowElement>(const DB& db, const LIST& params, IfcDistributionFlowElement* in)
  1477. {
  1478. size_t base = GenericFill(db,params,static_cast<IfcDistributionElement*>(in));
  1479. // this data structure is not used yet, so there is no code generated to fill its members
  1480. return base;
  1481. }
  1482. // -----------------------------------------------------------------------------------------------------------
  1483. template <> size_t GenericFill<IfcFlowTerminal>(const DB& db, const LIST& params, IfcFlowTerminal* in)
  1484. {
  1485. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1486. // this data structure is not used yet, so there is no code generated to fill its members
  1487. return base;
  1488. }
  1489. // -----------------------------------------------------------------------------------------------------------
  1490. template <> size_t GenericFill<IfcAirTerminal>(const DB& db, const LIST& params, IfcAirTerminal* in)
  1491. {
  1492. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  1493. // this data structure is not used yet, so there is no code generated to fill its members
  1494. return base;
  1495. }
  1496. // -----------------------------------------------------------------------------------------------------------
  1497. template <> size_t GenericFill<IfcFlowController>(const DB& db, const LIST& params, IfcFlowController* in)
  1498. {
  1499. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1500. // this data structure is not used yet, so there is no code generated to fill its members
  1501. return base;
  1502. }
  1503. // -----------------------------------------------------------------------------------------------------------
  1504. template <> size_t GenericFill<IfcAirTerminalBox>(const DB& db, const LIST& params, IfcAirTerminalBox* in)
  1505. {
  1506. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  1507. // this data structure is not used yet, so there is no code generated to fill its members
  1508. return base;
  1509. }
  1510. // -----------------------------------------------------------------------------------------------------------
  1511. template <> size_t GenericFill<IfcDistributionFlowElementType>(const DB& db, const LIST& params, IfcDistributionFlowElementType* in)
  1512. {
  1513. size_t base = GenericFill(db,params,static_cast<IfcDistributionElementType*>(in));
  1514. // this data structure is not used yet, so there is no code generated to fill its members
  1515. return base;
  1516. }
  1517. // -----------------------------------------------------------------------------------------------------------
  1518. template <> size_t GenericFill<IfcFlowControllerType>(const DB& db, const LIST& params, IfcFlowControllerType* in)
  1519. {
  1520. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1521. // this data structure is not used yet, so there is no code generated to fill its members
  1522. return base;
  1523. }
  1524. // -----------------------------------------------------------------------------------------------------------
  1525. template <> size_t GenericFill<IfcAirTerminalBoxType>(const DB& db, const LIST& params, IfcAirTerminalBoxType* in)
  1526. {
  1527. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  1528. // this data structure is not used yet, so there is no code generated to fill its members
  1529. return base;
  1530. }
  1531. // -----------------------------------------------------------------------------------------------------------
  1532. template <> size_t GenericFill<IfcFlowTerminalType>(const DB& db, const LIST& params, IfcFlowTerminalType* in)
  1533. {
  1534. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1535. // this data structure is not used yet, so there is no code generated to fill its members
  1536. return base;
  1537. }
  1538. // -----------------------------------------------------------------------------------------------------------
  1539. template <> size_t GenericFill<IfcAirTerminalType>(const DB& db, const LIST& params, IfcAirTerminalType* in)
  1540. {
  1541. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  1542. // this data structure is not used yet, so there is no code generated to fill its members
  1543. return base;
  1544. }
  1545. // -----------------------------------------------------------------------------------------------------------
  1546. template <> size_t GenericFill<IfcEnergyConversionDevice>(const DB& db, const LIST& params, IfcEnergyConversionDevice* in)
  1547. {
  1548. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  1549. // this data structure is not used yet, so there is no code generated to fill its members
  1550. return base;
  1551. }
  1552. // -----------------------------------------------------------------------------------------------------------
  1553. template <> size_t GenericFill<IfcAirToAirHeatRecovery>(const DB& db, const LIST& params, IfcAirToAirHeatRecovery* in)
  1554. {
  1555. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  1556. // this data structure is not used yet, so there is no code generated to fill its members
  1557. return base;
  1558. }
  1559. // -----------------------------------------------------------------------------------------------------------
  1560. template <> size_t GenericFill<IfcEnergyConversionDeviceType>(const DB& db, const LIST& params, IfcEnergyConversionDeviceType* in)
  1561. {
  1562. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  1563. // this data structure is not used yet, so there is no code generated to fill its members
  1564. return base;
  1565. }
  1566. // -----------------------------------------------------------------------------------------------------------
  1567. template <> size_t GenericFill<IfcAirToAirHeatRecoveryType>(const DB& db, const LIST& params, IfcAirToAirHeatRecoveryType* in)
  1568. {
  1569. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1570. // this data structure is not used yet, so there is no code generated to fill its members
  1571. return base;
  1572. }
  1573. // -----------------------------------------------------------------------------------------------------------
  1574. template <> size_t GenericFill<IfcAlarm>(const DB& db, const LIST& params, IfcAlarm* in)
  1575. {
  1576. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  1577. // this data structure is not used yet, so there is no code generated to fill its members
  1578. return base;
  1579. }
  1580. // -----------------------------------------------------------------------------------------------------------
  1581. template <> size_t GenericFill<IfcAlarmType>(const DB& db, const LIST& params, IfcAlarmType* in)
  1582. {
  1583. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  1584. // this data structure is not used yet, so there is no code generated to fill its members
  1585. return base;
  1586. }
  1587. // -----------------------------------------------------------------------------------------------------------
  1588. template <> size_t GenericFill<IfcAnnotation>(const DB& db, const LIST& params, IfcAnnotation* in)
  1589. {
  1590. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  1591. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcAnnotation"); } return base;
  1592. }
  1593. // -----------------------------------------------------------------------------------------------------------
  1594. template <> size_t GenericFill<IfcAnnotationFillArea>(const DB& db, const LIST& params, IfcAnnotationFillArea* in)
  1595. {
  1596. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1597. // this data structure is not used yet, so there is no code generated to fill its members
  1598. return base;
  1599. }
  1600. // -----------------------------------------------------------------------------------------------------------
  1601. template <> size_t GenericFill<IfcProfileDef>(const DB& db, const LIST& params, IfcProfileDef* in)
  1602. {
  1603. size_t base = 0;
  1604. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProfileDef"); } do { // convert the 'ProfileType' argument
  1605. boost::shared_ptr<const DataType> arg = params[base++];
  1606. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[0]=true; break; }
  1607. try { GenericConvert( in->ProfileType, arg, db ); break; }
  1608. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProfileDef to be a `IfcProfileTypeEnum`")); }
  1609. } while(0);
  1610. do { // convert the 'ProfileName' argument
  1611. boost::shared_ptr<const DataType> arg = params[base++];
  1612. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProfileDef,2>::aux_is_derived[1]=true; break; }
  1613. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1614. try { GenericConvert( in->ProfileName, arg, db ); break; }
  1615. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProfileDef to be a `IfcLabel`")); }
  1616. } while(0);
  1617. return base;
  1618. }
  1619. // -----------------------------------------------------------------------------------------------------------
  1620. template <> size_t GenericFill<IfcArbitraryClosedProfileDef>(const DB& db, const LIST& params, IfcArbitraryClosedProfileDef* in)
  1621. {
  1622. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1623. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryClosedProfileDef"); } do { // convert the 'OuterCurve' argument
  1624. boost::shared_ptr<const DataType> arg = params[base++];
  1625. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryClosedProfileDef,1>::aux_is_derived[0]=true; break; }
  1626. try { GenericConvert( in->OuterCurve, arg, db ); break; }
  1627. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryClosedProfileDef to be a `IfcCurve`")); }
  1628. } while(0);
  1629. return base;
  1630. }
  1631. // -----------------------------------------------------------------------------------------------------------
  1632. template <> size_t GenericFill<IfcArbitraryOpenProfileDef>(const DB& db, const LIST& params, IfcArbitraryOpenProfileDef* in)
  1633. {
  1634. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1635. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcArbitraryOpenProfileDef"); } do { // convert the 'Curve' argument
  1636. boost::shared_ptr<const DataType> arg = params[base++];
  1637. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcArbitraryOpenProfileDef,1>::aux_is_derived[0]=true; break; }
  1638. try { GenericConvert( in->Curve, arg, db ); break; }
  1639. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcArbitraryOpenProfileDef to be a `IfcBoundedCurve`")); }
  1640. } while(0);
  1641. return base;
  1642. }
  1643. // -----------------------------------------------------------------------------------------------------------
  1644. template <> size_t GenericFill<IfcArbitraryProfileDefWithVoids>(const DB& db, const LIST& params, IfcArbitraryProfileDefWithVoids* in)
  1645. {
  1646. size_t base = GenericFill(db,params,static_cast<IfcArbitraryClosedProfileDef*>(in));
  1647. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcArbitraryProfileDefWithVoids"); } do { // convert the 'InnerCurves' argument
  1648. boost::shared_ptr<const DataType> arg = params[base++];
  1649. try { GenericConvert( in->InnerCurves, arg, db ); break; }
  1650. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcArbitraryProfileDefWithVoids to be a `SET [1:?] OF IfcCurve`")); }
  1651. } while(0);
  1652. return base;
  1653. }
  1654. // -----------------------------------------------------------------------------------------------------------
  1655. template <> size_t GenericFill<IfcGroup>(const DB& db, const LIST& params, IfcGroup* in)
  1656. {
  1657. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  1658. // this data structure is not used yet, so there is no code generated to fill its members
  1659. return base;
  1660. }
  1661. // -----------------------------------------------------------------------------------------------------------
  1662. template <> size_t GenericFill<IfcAsset>(const DB& db, const LIST& params, IfcAsset* in)
  1663. {
  1664. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  1665. // this data structure is not used yet, so there is no code generated to fill its members
  1666. return base;
  1667. }
  1668. // -----------------------------------------------------------------------------------------------------------
  1669. template <> size_t GenericFill<IfcParameterizedProfileDef>(const DB& db, const LIST& params, IfcParameterizedProfileDef* in)
  1670. {
  1671. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  1672. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcParameterizedProfileDef"); } do { // convert the 'Position' argument
  1673. boost::shared_ptr<const DataType> arg = params[base++];
  1674. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcParameterizedProfileDef,1>::aux_is_derived[0]=true; break; }
  1675. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1676. try { GenericConvert( in->Position, arg, db ); break; }
  1677. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcParameterizedProfileDef to be a `IfcAxis2Placement2D`")); }
  1678. } while(0);
  1679. return base;
  1680. }
  1681. // -----------------------------------------------------------------------------------------------------------
  1682. template <> size_t GenericFill<IfcAsymmetricIShapeProfileDef>(const DB& db, const LIST& params, IfcAsymmetricIShapeProfileDef* in)
  1683. {
  1684. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  1685. // this data structure is not used yet, so there is no code generated to fill its members
  1686. return base;
  1687. }
  1688. // -----------------------------------------------------------------------------------------------------------
  1689. template <> size_t GenericFill<IfcAudioVisualAppliance>(const DB& db, const LIST& params, IfcAudioVisualAppliance* in)
  1690. {
  1691. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  1692. // this data structure is not used yet, so there is no code generated to fill its members
  1693. return base;
  1694. }
  1695. // -----------------------------------------------------------------------------------------------------------
  1696. template <> size_t GenericFill<IfcAudioVisualApplianceType>(const DB& db, const LIST& params, IfcAudioVisualApplianceType* in)
  1697. {
  1698. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  1699. // this data structure is not used yet, so there is no code generated to fill its members
  1700. return base;
  1701. }
  1702. // -----------------------------------------------------------------------------------------------------------
  1703. template <> size_t GenericFill<IfcPlacement>(const DB& db, const LIST& params, IfcPlacement* in)
  1704. {
  1705. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1706. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlacement"); } do { // convert the 'Location' argument
  1707. boost::shared_ptr<const DataType> arg = params[base++];
  1708. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPlacement,1>::aux_is_derived[0]=true; break; }
  1709. try { GenericConvert( in->Location, arg, db ); break; }
  1710. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPlacement to be a `IfcCartesianPoint`")); }
  1711. } while(0);
  1712. return base;
  1713. }
  1714. // -----------------------------------------------------------------------------------------------------------
  1715. template <> size_t GenericFill<IfcAxis1Placement>(const DB& db, const LIST& params, IfcAxis1Placement* in)
  1716. {
  1717. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1718. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis1Placement"); } do { // convert the 'Axis' argument
  1719. boost::shared_ptr<const DataType> arg = params[base++];
  1720. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1721. try { GenericConvert( in->Axis, arg, db ); break; }
  1722. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis1Placement to be a `IfcDirection`")); }
  1723. } while(0);
  1724. return base;
  1725. }
  1726. // -----------------------------------------------------------------------------------------------------------
  1727. template <> size_t GenericFill<IfcAxis2Placement2D>(const DB& db, const LIST& params, IfcAxis2Placement2D* in)
  1728. {
  1729. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1730. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcAxis2Placement2D"); } do { // convert the 'RefDirection' argument
  1731. boost::shared_ptr<const DataType> arg = params[base++];
  1732. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1733. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1734. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement2D to be a `IfcDirection`")); }
  1735. } while(0);
  1736. return base;
  1737. }
  1738. // -----------------------------------------------------------------------------------------------------------
  1739. template <> size_t GenericFill<IfcAxis2Placement3D>(const DB& db, const LIST& params, IfcAxis2Placement3D* in)
  1740. {
  1741. size_t base = GenericFill(db,params,static_cast<IfcPlacement*>(in));
  1742. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcAxis2Placement3D"); } do { // convert the 'Axis' argument
  1743. boost::shared_ptr<const DataType> arg = params[base++];
  1744. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1745. try { GenericConvert( in->Axis, arg, db ); break; }
  1746. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1747. } while(0);
  1748. do { // convert the 'RefDirection' argument
  1749. boost::shared_ptr<const DataType> arg = params[base++];
  1750. if (dynamic_cast<const UNSET*>(&*arg)) break;
  1751. try { GenericConvert( in->RefDirection, arg, db ); break; }
  1752. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcAxis2Placement3D to be a `IfcDirection`")); }
  1753. } while(0);
  1754. return base;
  1755. }
  1756. // -----------------------------------------------------------------------------------------------------------
  1757. template <> size_t GenericFill<IfcCurve>(const DB& db, const LIST& params, IfcCurve* in)
  1758. {
  1759. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1760. return base;
  1761. }
  1762. // -----------------------------------------------------------------------------------------------------------
  1763. template <> size_t GenericFill<IfcBoundedCurve>(const DB& db, const LIST& params, IfcBoundedCurve* in)
  1764. {
  1765. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  1766. return base;
  1767. }
  1768. // -----------------------------------------------------------------------------------------------------------
  1769. template <> size_t GenericFill<IfcBSplineCurve>(const DB& db, const LIST& params, IfcBSplineCurve* in)
  1770. {
  1771. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1772. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcBSplineCurve"); } do { // convert the 'Degree' argument
  1773. boost::shared_ptr<const DataType> arg = params[base++];
  1774. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[0]=true; break; }
  1775. try { GenericConvert( in->Degree, arg, db ); break; }
  1776. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBSplineCurve to be a `IfcInteger`")); }
  1777. } while(0);
  1778. do { // convert the 'ControlPointsList' argument
  1779. boost::shared_ptr<const DataType> arg = params[base++];
  1780. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[1]=true; break; }
  1781. try { GenericConvert( in->ControlPointsList, arg, db ); break; }
  1782. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBSplineCurve to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  1783. } while(0);
  1784. do { // convert the 'CurveForm' argument
  1785. boost::shared_ptr<const DataType> arg = params[base++];
  1786. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[2]=true; break; }
  1787. try { GenericConvert( in->CurveForm, arg, db ); break; }
  1788. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBSplineCurve to be a `IfcBSplineCurveForm`")); }
  1789. } while(0);
  1790. do { // convert the 'ClosedCurve' argument
  1791. boost::shared_ptr<const DataType> arg = params[base++];
  1792. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[3]=true; break; }
  1793. try { GenericConvert( in->ClosedCurve, arg, db ); break; }
  1794. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBSplineCurve to be a `IfcLogical`")); }
  1795. } while(0);
  1796. do { // convert the 'SelfIntersect' argument
  1797. boost::shared_ptr<const DataType> arg = params[base++];
  1798. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBSplineCurve,5>::aux_is_derived[4]=true; break; }
  1799. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1800. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcBSplineCurve to be a `IfcLogical`")); }
  1801. } while(0);
  1802. return base;
  1803. }
  1804. // -----------------------------------------------------------------------------------------------------------
  1805. template <> size_t GenericFill<IfcBSplineCurveWithKnots>(const DB& db, const LIST& params, IfcBSplineCurveWithKnots* in)
  1806. {
  1807. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurve*>(in));
  1808. // this data structure is not used yet, so there is no code generated to fill its members
  1809. return base;
  1810. }
  1811. // -----------------------------------------------------------------------------------------------------------
  1812. template <> size_t GenericFill<IfcSurface>(const DB& db, const LIST& params, IfcSurface* in)
  1813. {
  1814. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1815. return base;
  1816. }
  1817. // -----------------------------------------------------------------------------------------------------------
  1818. template <> size_t GenericFill<IfcBoundedSurface>(const DB& db, const LIST& params, IfcBoundedSurface* in)
  1819. {
  1820. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  1821. // this data structure is not used yet, so there is no code generated to fill its members
  1822. return base;
  1823. }
  1824. // -----------------------------------------------------------------------------------------------------------
  1825. template <> size_t GenericFill<IfcBSplineSurface>(const DB& db, const LIST& params, IfcBSplineSurface* in)
  1826. {
  1827. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  1828. // this data structure is not used yet, so there is no code generated to fill its members
  1829. return base;
  1830. }
  1831. // -----------------------------------------------------------------------------------------------------------
  1832. template <> size_t GenericFill<IfcBSplineSurfaceWithKnots>(const DB& db, const LIST& params, IfcBSplineSurfaceWithKnots* in)
  1833. {
  1834. size_t base = GenericFill(db,params,static_cast<IfcBSplineSurface*>(in));
  1835. // this data structure is not used yet, so there is no code generated to fill its members
  1836. return base;
  1837. }
  1838. // -----------------------------------------------------------------------------------------------------------
  1839. template <> size_t GenericFill<IfcBuildingElement>(const DB& db, const LIST& params, IfcBuildingElement* in)
  1840. {
  1841. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  1842. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcBuildingElement"); } return base;
  1843. }
  1844. // -----------------------------------------------------------------------------------------------------------
  1845. template <> size_t GenericFill<IfcBeam>(const DB& db, const LIST& params, IfcBeam* in)
  1846. {
  1847. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(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<IfcBeamStandardCase>(const DB& db, const LIST& params, IfcBeamStandardCase* in)
  1853. {
  1854. size_t base = GenericFill(db,params,static_cast<IfcBeam*>(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<IfcBuildingElementType>(const DB& db, const LIST& params, IfcBuildingElementType* in)
  1860. {
  1861. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(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<IfcBeamType>(const DB& db, const LIST& params, IfcBeamType* in)
  1867. {
  1868. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(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<IfcPresentationItem>(const DB& db, const LIST& params, IfcPresentationItem* in)
  1874. {
  1875. size_t base = 0;
  1876. return base;
  1877. }
  1878. // -----------------------------------------------------------------------------------------------------------
  1879. template <> size_t GenericFill<IfcCsgPrimitive3D>(const DB& db, const LIST& params, IfcCsgPrimitive3D* in)
  1880. {
  1881. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1882. // this data structure is not used yet, so there is no code generated to fill its members
  1883. return base;
  1884. }
  1885. // -----------------------------------------------------------------------------------------------------------
  1886. template <> size_t GenericFill<IfcBlock>(const DB& db, const LIST& params, IfcBlock* in)
  1887. {
  1888. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  1889. // this data structure is not used yet, so there is no code generated to fill its members
  1890. return base;
  1891. }
  1892. // -----------------------------------------------------------------------------------------------------------
  1893. template <> size_t GenericFill<IfcBoiler>(const DB& db, const LIST& params, IfcBoiler* in)
  1894. {
  1895. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  1896. // this data structure is not used yet, so there is no code generated to fill its members
  1897. return base;
  1898. }
  1899. // -----------------------------------------------------------------------------------------------------------
  1900. template <> size_t GenericFill<IfcBoilerType>(const DB& db, const LIST& params, IfcBoilerType* in)
  1901. {
  1902. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  1903. // this data structure is not used yet, so there is no code generated to fill its members
  1904. return base;
  1905. }
  1906. // -----------------------------------------------------------------------------------------------------------
  1907. template <> size_t GenericFill<IfcBooleanResult>(const DB& db, const LIST& params, IfcBooleanResult* in)
  1908. {
  1909. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1910. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanResult"); } do { // convert the 'Operator' argument
  1911. boost::shared_ptr<const DataType> arg = params[base++];
  1912. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[0]=true; break; }
  1913. try { GenericConvert( in->Operator, arg, db ); break; }
  1914. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBooleanResult to be a `IfcBooleanOperator`")); }
  1915. } while(0);
  1916. do { // convert the 'FirstOperand' argument
  1917. boost::shared_ptr<const DataType> arg = params[base++];
  1918. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[1]=true; break; }
  1919. try { GenericConvert( in->FirstOperand, arg, db ); break; }
  1920. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1921. } while(0);
  1922. do { // convert the 'SecondOperand' argument
  1923. boost::shared_ptr<const DataType> arg = params[base++];
  1924. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcBooleanResult,3>::aux_is_derived[2]=true; break; }
  1925. try { GenericConvert( in->SecondOperand, arg, db ); break; }
  1926. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBooleanResult to be a `IfcBooleanOperand`")); }
  1927. } while(0);
  1928. return base;
  1929. }
  1930. // -----------------------------------------------------------------------------------------------------------
  1931. template <> size_t GenericFill<IfcBooleanClippingResult>(const DB& db, const LIST& params, IfcBooleanClippingResult* in)
  1932. {
  1933. size_t base = GenericFill(db,params,static_cast<IfcBooleanResult*>(in));
  1934. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcBooleanClippingResult"); } return base;
  1935. }
  1936. // -----------------------------------------------------------------------------------------------------------
  1937. template <> size_t GenericFill<IfcCompositeCurve>(const DB& db, const LIST& params, IfcCompositeCurve* in)
  1938. {
  1939. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  1940. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCompositeCurve"); } do { // convert the 'Segments' argument
  1941. boost::shared_ptr<const DataType> arg = params[base++];
  1942. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[0]=true; break; }
  1943. try { GenericConvert( in->Segments, arg, db ); break; }
  1944. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurve to be a `LIST [1:?] OF IfcCompositeCurveSegment`")); }
  1945. } while(0);
  1946. do { // convert the 'SelfIntersect' argument
  1947. boost::shared_ptr<const DataType> arg = params[base++];
  1948. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurve,2>::aux_is_derived[1]=true; break; }
  1949. try { GenericConvert( in->SelfIntersect, arg, db ); break; }
  1950. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurve to be a `IfcLogical`")); }
  1951. } while(0);
  1952. return base;
  1953. }
  1954. // -----------------------------------------------------------------------------------------------------------
  1955. template <> size_t GenericFill<IfcCompositeCurveOnSurface>(const DB& db, const LIST& params, IfcCompositeCurveOnSurface* in)
  1956. {
  1957. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurve*>(in));
  1958. // this data structure is not used yet, so there is no code generated to fill its members
  1959. return base;
  1960. }
  1961. // -----------------------------------------------------------------------------------------------------------
  1962. template <> size_t GenericFill<IfcBoundaryCurve>(const DB& db, const LIST& params, IfcBoundaryCurve* in)
  1963. {
  1964. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurveOnSurface*>(in));
  1965. // this data structure is not used yet, so there is no code generated to fill its members
  1966. return base;
  1967. }
  1968. // -----------------------------------------------------------------------------------------------------------
  1969. template <> size_t GenericFill<IfcBoundingBox>(const DB& db, const LIST& params, IfcBoundingBox* in)
  1970. {
  1971. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1972. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcBoundingBox"); } do { // convert the 'Corner' argument
  1973. boost::shared_ptr<const DataType> arg = params[base++];
  1974. try { GenericConvert( in->Corner, arg, db ); break; }
  1975. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcBoundingBox to be a `IfcCartesianPoint`")); }
  1976. } while(0);
  1977. do { // convert the 'XDim' argument
  1978. boost::shared_ptr<const DataType> arg = params[base++];
  1979. try { GenericConvert( in->XDim, arg, db ); break; }
  1980. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1981. } while(0);
  1982. do { // convert the 'YDim' argument
  1983. boost::shared_ptr<const DataType> arg = params[base++];
  1984. try { GenericConvert( in->YDim, arg, db ); break; }
  1985. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1986. } while(0);
  1987. do { // convert the 'ZDim' argument
  1988. boost::shared_ptr<const DataType> arg = params[base++];
  1989. try { GenericConvert( in->ZDim, arg, db ); break; }
  1990. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcBoundingBox to be a `IfcPositiveLengthMeasure`")); }
  1991. } while(0);
  1992. return base;
  1993. }
  1994. // -----------------------------------------------------------------------------------------------------------
  1995. template <> size_t GenericFill<IfcHalfSpaceSolid>(const DB& db, const LIST& params, IfcHalfSpaceSolid* in)
  1996. {
  1997. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  1998. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcHalfSpaceSolid"); } do { // convert the 'BaseSurface' argument
  1999. boost::shared_ptr<const DataType> arg = params[base++];
  2000. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[0]=true; break; }
  2001. try { GenericConvert( in->BaseSurface, arg, db ); break; }
  2002. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcHalfSpaceSolid to be a `IfcSurface`")); }
  2003. } while(0);
  2004. do { // convert the 'AgreementFlag' argument
  2005. boost::shared_ptr<const DataType> arg = params[base++];
  2006. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcHalfSpaceSolid,2>::aux_is_derived[1]=true; break; }
  2007. try { GenericConvert( in->AgreementFlag, arg, db ); break; }
  2008. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcHalfSpaceSolid to be a `IfcBoolean`")); }
  2009. } while(0);
  2010. return base;
  2011. }
  2012. // -----------------------------------------------------------------------------------------------------------
  2013. template <> size_t GenericFill<IfcBoxedHalfSpace>(const DB& db, const LIST& params, IfcBoxedHalfSpace* in)
  2014. {
  2015. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  2016. // this data structure is not used yet, so there is no code generated to fill its members
  2017. return base;
  2018. }
  2019. // -----------------------------------------------------------------------------------------------------------
  2020. template <> size_t GenericFill<IfcSpatialElement>(const DB& db, const LIST& params, IfcSpatialElement* in)
  2021. {
  2022. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  2023. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcSpatialElement"); } do { // convert the 'LongName' argument
  2024. boost::shared_ptr<const DataType> arg = params[base++];
  2025. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialElement,1>::aux_is_derived[0]=true; break; }
  2026. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2027. try { GenericConvert( in->LongName, arg, db ); break; }
  2028. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSpatialElement to be a `IfcLabel`")); }
  2029. } while(0);
  2030. return base;
  2031. }
  2032. // -----------------------------------------------------------------------------------------------------------
  2033. template <> size_t GenericFill<IfcSpatialStructureElement>(const DB& db, const LIST& params, IfcSpatialStructureElement* in)
  2034. {
  2035. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  2036. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSpatialStructureElement"); } do { // convert the 'CompositionType' argument
  2037. boost::shared_ptr<const DataType> arg = params[base++];
  2038. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSpatialStructureElement,1>::aux_is_derived[0]=true; break; }
  2039. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2040. try { GenericConvert( in->CompositionType, arg, db ); break; }
  2041. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSpatialStructureElement to be a `IfcElementCompositionEnum`")); }
  2042. } while(0);
  2043. return base;
  2044. }
  2045. // -----------------------------------------------------------------------------------------------------------
  2046. template <> size_t GenericFill<IfcBuilding>(const DB& db, const LIST& params, IfcBuilding* in)
  2047. {
  2048. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2049. if (params.GetSize() < 12) { throw STEP::TypeError("expected 12 arguments to IfcBuilding"); } do { // convert the 'ElevationOfRefHeight' argument
  2050. boost::shared_ptr<const DataType> arg = params[base++];
  2051. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2052. try { GenericConvert( in->ElevationOfRefHeight, arg, db ); break; }
  2053. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcBuilding to be a `IfcLengthMeasure`")); }
  2054. } while(0);
  2055. do { // convert the 'ElevationOfTerrain' argument
  2056. boost::shared_ptr<const DataType> arg = params[base++];
  2057. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2058. try { GenericConvert( in->ElevationOfTerrain, arg, db ); break; }
  2059. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcBuilding to be a `IfcLengthMeasure`")); }
  2060. } while(0);
  2061. do { // convert the 'BuildingAddress' argument
  2062. boost::shared_ptr<const DataType> arg = params[base++];
  2063. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2064. try { GenericConvert( in->BuildingAddress, arg, db ); break; }
  2065. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcBuilding to be a `IfcPostalAddress`")); }
  2066. } while(0);
  2067. return base;
  2068. }
  2069. // -----------------------------------------------------------------------------------------------------------
  2070. template <> size_t GenericFill<IfcElementComponent>(const DB& db, const LIST& params, IfcElementComponent* in)
  2071. {
  2072. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2073. // this data structure is not used yet, so there is no code generated to fill its members
  2074. return base;
  2075. }
  2076. // -----------------------------------------------------------------------------------------------------------
  2077. template <> size_t GenericFill<IfcBuildingElementPart>(const DB& db, const LIST& params, IfcBuildingElementPart* in)
  2078. {
  2079. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  2080. // this data structure is not used yet, so there is no code generated to fill its members
  2081. return base;
  2082. }
  2083. // -----------------------------------------------------------------------------------------------------------
  2084. template <> size_t GenericFill<IfcElementComponentType>(const DB& db, const LIST& params, IfcElementComponentType* in)
  2085. {
  2086. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2087. // this data structure is not used yet, so there is no code generated to fill its members
  2088. return base;
  2089. }
  2090. // -----------------------------------------------------------------------------------------------------------
  2091. template <> size_t GenericFill<IfcBuildingElementPartType>(const DB& db, const LIST& params, IfcBuildingElementPartType* in)
  2092. {
  2093. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  2094. // this data structure is not used yet, so there is no code generated to fill its members
  2095. return base;
  2096. }
  2097. // -----------------------------------------------------------------------------------------------------------
  2098. template <> size_t GenericFill<IfcBuildingElementProxy>(const DB& db, const LIST& params, IfcBuildingElementProxy* in)
  2099. {
  2100. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2101. // this data structure is not used yet, so there is no code generated to fill its members
  2102. return base;
  2103. }
  2104. // -----------------------------------------------------------------------------------------------------------
  2105. template <> size_t GenericFill<IfcBuildingElementProxyType>(const DB& db, const LIST& params, IfcBuildingElementProxyType* in)
  2106. {
  2107. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2108. // this data structure is not used yet, so there is no code generated to fill its members
  2109. return base;
  2110. }
  2111. // -----------------------------------------------------------------------------------------------------------
  2112. template <> size_t GenericFill<IfcBuildingStorey>(const DB& db, const LIST& params, IfcBuildingStorey* in)
  2113. {
  2114. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  2115. // this data structure is not used yet, so there is no code generated to fill its members
  2116. return base;
  2117. }
  2118. // -----------------------------------------------------------------------------------------------------------
  2119. template <> size_t GenericFill<IfcSystem>(const DB& db, const LIST& params, IfcSystem* in)
  2120. {
  2121. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  2122. // this data structure is not used yet, so there is no code generated to fill its members
  2123. return base;
  2124. }
  2125. // -----------------------------------------------------------------------------------------------------------
  2126. template <> size_t GenericFill<IfcBuildingSystem>(const DB& db, const LIST& params, IfcBuildingSystem* in)
  2127. {
  2128. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(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<IfcBurner>(const DB& db, const LIST& params, IfcBurner* in)
  2134. {
  2135. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(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<IfcBurnerType>(const DB& db, const LIST& params, IfcBurnerType* in)
  2141. {
  2142. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2143. // this data structure is not used yet, so there is no code generated to fill its members
  2144. return base;
  2145. }
  2146. // -----------------------------------------------------------------------------------------------------------
  2147. template <> size_t GenericFill<IfcCShapeProfileDef>(const DB& db, const LIST& params, IfcCShapeProfileDef* in)
  2148. {
  2149. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2150. // this data structure is not used yet, so there is no code generated to fill its members
  2151. return base;
  2152. }
  2153. // -----------------------------------------------------------------------------------------------------------
  2154. template <> size_t GenericFill<IfcFlowFitting>(const DB& db, const LIST& params, IfcFlowFitting* in)
  2155. {
  2156. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2157. // this data structure is not used yet, so there is no code generated to fill its members
  2158. return base;
  2159. }
  2160. // -----------------------------------------------------------------------------------------------------------
  2161. template <> size_t GenericFill<IfcCableCarrierFitting>(const DB& db, const LIST& params, IfcCableCarrierFitting* in)
  2162. {
  2163. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  2164. // this data structure is not used yet, so there is no code generated to fill its members
  2165. return base;
  2166. }
  2167. // -----------------------------------------------------------------------------------------------------------
  2168. template <> size_t GenericFill<IfcFlowFittingType>(const DB& db, const LIST& params, IfcFlowFittingType* in)
  2169. {
  2170. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2171. // this data structure is not used yet, so there is no code generated to fill its members
  2172. return base;
  2173. }
  2174. // -----------------------------------------------------------------------------------------------------------
  2175. template <> size_t GenericFill<IfcCableCarrierFittingType>(const DB& db, const LIST& params, IfcCableCarrierFittingType* in)
  2176. {
  2177. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  2178. // this data structure is not used yet, so there is no code generated to fill its members
  2179. return base;
  2180. }
  2181. // -----------------------------------------------------------------------------------------------------------
  2182. template <> size_t GenericFill<IfcFlowSegment>(const DB& db, const LIST& params, IfcFlowSegment* in)
  2183. {
  2184. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2185. // this data structure is not used yet, so there is no code generated to fill its members
  2186. return base;
  2187. }
  2188. // -----------------------------------------------------------------------------------------------------------
  2189. template <> size_t GenericFill<IfcCableCarrierSegment>(const DB& db, const LIST& params, IfcCableCarrierSegment* in)
  2190. {
  2191. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  2192. // this data structure is not used yet, so there is no code generated to fill its members
  2193. return base;
  2194. }
  2195. // -----------------------------------------------------------------------------------------------------------
  2196. template <> size_t GenericFill<IfcFlowSegmentType>(const DB& db, const LIST& params, IfcFlowSegmentType* in)
  2197. {
  2198. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(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<IfcCableCarrierSegmentType>(const DB& db, const LIST& params, IfcCableCarrierSegmentType* in)
  2204. {
  2205. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(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<IfcCableFitting>(const DB& db, const LIST& params, IfcCableFitting* in)
  2211. {
  2212. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(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<IfcCableFittingType>(const DB& db, const LIST& params, IfcCableFittingType* in)
  2218. {
  2219. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(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<IfcCableSegment>(const DB& db, const LIST& params, IfcCableSegment* in)
  2225. {
  2226. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(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<IfcCableSegmentType>(const DB& db, const LIST& params, IfcCableSegmentType* in)
  2232. {
  2233. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(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<IfcPoint>(const DB& db, const LIST& params, IfcPoint* in)
  2239. {
  2240. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2241. return base;
  2242. }
  2243. // -----------------------------------------------------------------------------------------------------------
  2244. template <> size_t GenericFill<IfcCartesianPoint>(const DB& db, const LIST& params, IfcCartesianPoint* in)
  2245. {
  2246. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  2247. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcCartesianPoint"); } do { // convert the 'Coordinates' argument
  2248. boost::shared_ptr<const DataType> arg = params[base++];
  2249. try { GenericConvert( in->Coordinates, arg, db ); break; }
  2250. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianPoint to be a `LIST [1:3] OF IfcLengthMeasure`")); }
  2251. } while(0);
  2252. return base;
  2253. }
  2254. // -----------------------------------------------------------------------------------------------------------
  2255. template <> size_t GenericFill<IfcCartesianPointList>(const DB& db, const LIST& params, IfcCartesianPointList* in)
  2256. {
  2257. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2258. // this data structure is not used yet, so there is no code generated to fill its members
  2259. return base;
  2260. }
  2261. // -----------------------------------------------------------------------------------------------------------
  2262. template <> size_t GenericFill<IfcCartesianPointList2D>(const DB& db, const LIST& params, IfcCartesianPointList2D* in)
  2263. {
  2264. size_t base = GenericFill(db,params,static_cast<IfcCartesianPointList*>(in));
  2265. // this data structure is not used yet, so there is no code generated to fill its members
  2266. return base;
  2267. }
  2268. // -----------------------------------------------------------------------------------------------------------
  2269. template <> size_t GenericFill<IfcCartesianPointList3D>(const DB& db, const LIST& params, IfcCartesianPointList3D* in)
  2270. {
  2271. size_t base = GenericFill(db,params,static_cast<IfcCartesianPointList*>(in));
  2272. // this data structure is not used yet, so there is no code generated to fill its members
  2273. return base;
  2274. }
  2275. // -----------------------------------------------------------------------------------------------------------
  2276. template <> size_t GenericFill<IfcCartesianTransformationOperator>(const DB& db, const LIST& params, IfcCartesianTransformationOperator* in)
  2277. {
  2278. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2279. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCartesianTransformationOperator"); } do { // convert the 'Axis1' argument
  2280. boost::shared_ptr<const DataType> arg = params[base++];
  2281. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[0]=true; break; }
  2282. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2283. try { GenericConvert( in->Axis1, arg, db ); break; }
  2284. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2285. } while(0);
  2286. do { // convert the 'Axis2' argument
  2287. boost::shared_ptr<const DataType> arg = params[base++];
  2288. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[1]=true; break; }
  2289. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2290. try { GenericConvert( in->Axis2, arg, db ); break; }
  2291. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCartesianTransformationOperator to be a `IfcDirection`")); }
  2292. } while(0);
  2293. do { // convert the 'LocalOrigin' argument
  2294. boost::shared_ptr<const DataType> arg = params[base++];
  2295. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[2]=true; break; }
  2296. try { GenericConvert( in->LocalOrigin, arg, db ); break; }
  2297. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCartesianTransformationOperator to be a `IfcCartesianPoint`")); }
  2298. } while(0);
  2299. do { // convert the 'Scale' argument
  2300. boost::shared_ptr<const DataType> arg = params[base++];
  2301. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator,4>::aux_is_derived[3]=true; break; }
  2302. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2303. try { GenericConvert( in->Scale, arg, db ); break; }
  2304. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCartesianTransformationOperator to be a `IfcReal`")); }
  2305. } while(0);
  2306. return base;
  2307. }
  2308. // -----------------------------------------------------------------------------------------------------------
  2309. template <> size_t GenericFill<IfcCartesianTransformationOperator2D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2D* in)
  2310. {
  2311. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2312. // this data structure is not used yet, so there is no code generated to fill its members
  2313. return base;
  2314. }
  2315. // -----------------------------------------------------------------------------------------------------------
  2316. template <> size_t GenericFill<IfcCartesianTransformationOperator2DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator2DnonUniform* in)
  2317. {
  2318. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator2D*>(in));
  2319. // this data structure is not used yet, so there is no code generated to fill its members
  2320. return base;
  2321. }
  2322. // -----------------------------------------------------------------------------------------------------------
  2323. template <> size_t GenericFill<IfcCartesianTransformationOperator3D>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3D* in)
  2324. {
  2325. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator*>(in));
  2326. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCartesianTransformationOperator3D"); } do { // convert the 'Axis3' argument
  2327. boost::shared_ptr<const DataType> arg = params[base++];
  2328. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCartesianTransformationOperator3D,1>::aux_is_derived[0]=true; break; }
  2329. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2330. try { GenericConvert( in->Axis3, arg, db ); break; }
  2331. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCartesianTransformationOperator3D to be a `IfcDirection`")); }
  2332. } while(0);
  2333. return base;
  2334. }
  2335. // -----------------------------------------------------------------------------------------------------------
  2336. template <> size_t GenericFill<IfcCartesianTransformationOperator3DnonUniform>(const DB& db, const LIST& params, IfcCartesianTransformationOperator3DnonUniform* in)
  2337. {
  2338. size_t base = GenericFill(db,params,static_cast<IfcCartesianTransformationOperator3D*>(in));
  2339. if (params.GetSize() < 7) { throw STEP::TypeError("expected 7 arguments to IfcCartesianTransformationOperator3DnonUniform"); } do { // convert the 'Scale2' argument
  2340. boost::shared_ptr<const DataType> arg = params[base++];
  2341. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2342. try { GenericConvert( in->Scale2, arg, db ); break; }
  2343. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcCartesianTransformationOperator3DnonUniform to be a `IfcReal`")); }
  2344. } while(0);
  2345. do { // convert the 'Scale3' argument
  2346. boost::shared_ptr<const DataType> arg = params[base++];
  2347. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2348. try { GenericConvert( in->Scale3, arg, db ); break; }
  2349. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcCartesianTransformationOperator3DnonUniform to be a `IfcReal`")); }
  2350. } while(0);
  2351. return base;
  2352. }
  2353. // -----------------------------------------------------------------------------------------------------------
  2354. template <> size_t GenericFill<IfcCenterLineProfileDef>(const DB& db, const LIST& params, IfcCenterLineProfileDef* in)
  2355. {
  2356. size_t base = GenericFill(db,params,static_cast<IfcArbitraryOpenProfileDef*>(in));
  2357. // this data structure is not used yet, so there is no code generated to fill its members
  2358. return base;
  2359. }
  2360. // -----------------------------------------------------------------------------------------------------------
  2361. template <> size_t GenericFill<IfcChiller>(const DB& db, const LIST& params, IfcChiller* in)
  2362. {
  2363. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2364. // this data structure is not used yet, so there is no code generated to fill its members
  2365. return base;
  2366. }
  2367. // -----------------------------------------------------------------------------------------------------------
  2368. template <> size_t GenericFill<IfcChillerType>(const DB& db, const LIST& params, IfcChillerType* in)
  2369. {
  2370. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2371. // this data structure is not used yet, so there is no code generated to fill its members
  2372. return base;
  2373. }
  2374. // -----------------------------------------------------------------------------------------------------------
  2375. template <> size_t GenericFill<IfcChimney>(const DB& db, const LIST& params, IfcChimney* in)
  2376. {
  2377. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2378. // this data structure is not used yet, so there is no code generated to fill its members
  2379. return base;
  2380. }
  2381. // -----------------------------------------------------------------------------------------------------------
  2382. template <> size_t GenericFill<IfcChimneyType>(const DB& db, const LIST& params, IfcChimneyType* in)
  2383. {
  2384. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2385. // this data structure is not used yet, so there is no code generated to fill its members
  2386. return base;
  2387. }
  2388. // -----------------------------------------------------------------------------------------------------------
  2389. template <> size_t GenericFill<IfcConic>(const DB& db, const LIST& params, IfcConic* in)
  2390. {
  2391. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  2392. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConic"); } do { // convert the 'Position' argument
  2393. boost::shared_ptr<const DataType> arg = params[base++];
  2394. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConic,1>::aux_is_derived[0]=true; break; }
  2395. try { GenericConvert( in->Position, arg, db ); break; }
  2396. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConic to be a `IfcAxis2Placement`")); }
  2397. } while(0);
  2398. return base;
  2399. }
  2400. // -----------------------------------------------------------------------------------------------------------
  2401. template <> size_t GenericFill<IfcCircle>(const DB& db, const LIST& params, IfcCircle* in)
  2402. {
  2403. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  2404. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcCircle"); } do { // convert the 'Radius' argument
  2405. boost::shared_ptr<const DataType> arg = params[base++];
  2406. try { GenericConvert( in->Radius, arg, db ); break; }
  2407. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCircle to be a `IfcPositiveLengthMeasure`")); }
  2408. } while(0);
  2409. return base;
  2410. }
  2411. // -----------------------------------------------------------------------------------------------------------
  2412. template <> size_t GenericFill<IfcCircleProfileDef>(const DB& db, const LIST& params, IfcCircleProfileDef* in)
  2413. {
  2414. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  2415. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcCircleProfileDef"); } do { // convert the 'Radius' argument
  2416. boost::shared_ptr<const DataType> arg = params[base++];
  2417. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCircleProfileDef,1>::aux_is_derived[0]=true; break; }
  2418. try { GenericConvert( in->Radius, arg, db ); break; }
  2419. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcCircleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2420. } while(0);
  2421. return base;
  2422. }
  2423. // -----------------------------------------------------------------------------------------------------------
  2424. template <> size_t GenericFill<IfcCircleHollowProfileDef>(const DB& db, const LIST& params, IfcCircleHollowProfileDef* in)
  2425. {
  2426. size_t base = GenericFill(db,params,static_cast<IfcCircleProfileDef*>(in));
  2427. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcCircleHollowProfileDef"); } do { // convert the 'WallThickness' argument
  2428. boost::shared_ptr<const DataType> arg = params[base++];
  2429. try { GenericConvert( in->WallThickness, arg, db ); break; }
  2430. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcCircleHollowProfileDef to be a `IfcPositiveLengthMeasure`")); }
  2431. } while(0);
  2432. return base;
  2433. }
  2434. // -----------------------------------------------------------------------------------------------------------
  2435. template <> size_t GenericFill<IfcCivilElement>(const DB& db, const LIST& params, IfcCivilElement* in)
  2436. {
  2437. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  2438. // this data structure is not used yet, so there is no code generated to fill its members
  2439. return base;
  2440. }
  2441. // -----------------------------------------------------------------------------------------------------------
  2442. template <> size_t GenericFill<IfcCivilElementType>(const DB& db, const LIST& params, IfcCivilElementType* in)
  2443. {
  2444. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  2445. // this data structure is not used yet, so there is no code generated to fill its members
  2446. return base;
  2447. }
  2448. // -----------------------------------------------------------------------------------------------------------
  2449. template <> size_t GenericFill<IfcConnectedFaceSet>(const DB& db, const LIST& params, IfcConnectedFaceSet* in)
  2450. {
  2451. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  2452. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcConnectedFaceSet"); } do { // convert the 'CfsFaces' argument
  2453. boost::shared_ptr<const DataType> arg = params[base++];
  2454. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConnectedFaceSet,1>::aux_is_derived[0]=true; break; }
  2455. try { GenericConvert( in->CfsFaces, arg, db ); break; }
  2456. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcConnectedFaceSet to be a `SET [1:?] OF IfcFace`")); }
  2457. } while(0);
  2458. return base;
  2459. }
  2460. // -----------------------------------------------------------------------------------------------------------
  2461. template <> size_t GenericFill<IfcClosedShell>(const DB& db, const LIST& params, IfcClosedShell* in)
  2462. {
  2463. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  2464. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcClosedShell"); } return base;
  2465. }
  2466. // -----------------------------------------------------------------------------------------------------------
  2467. template <> size_t GenericFill<IfcCoil>(const DB& db, const LIST& params, IfcCoil* in)
  2468. {
  2469. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2470. // this data structure is not used yet, so there is no code generated to fill its members
  2471. return base;
  2472. }
  2473. // -----------------------------------------------------------------------------------------------------------
  2474. template <> size_t GenericFill<IfcCoilType>(const DB& db, const LIST& params, IfcCoilType* in)
  2475. {
  2476. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2477. // this data structure is not used yet, so there is no code generated to fill its members
  2478. return base;
  2479. }
  2480. // -----------------------------------------------------------------------------------------------------------
  2481. template <> size_t GenericFill<IfcColourSpecification>(const DB& db, const LIST& params, IfcColourSpecification* in)
  2482. {
  2483. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  2484. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcColourSpecification"); } do { // convert the 'Name' argument
  2485. boost::shared_ptr<const DataType> arg = params[base++];
  2486. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcColourSpecification,1>::aux_is_derived[0]=true; break; }
  2487. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2488. try { GenericConvert( in->Name, arg, db ); break; }
  2489. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcColourSpecification to be a `IfcLabel`")); }
  2490. } while(0);
  2491. return base;
  2492. }
  2493. // -----------------------------------------------------------------------------------------------------------
  2494. template <> size_t GenericFill<IfcColourRgb>(const DB& db, const LIST& params, IfcColourRgb* in)
  2495. {
  2496. size_t base = GenericFill(db,params,static_cast<IfcColourSpecification*>(in));
  2497. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcColourRgb"); } do { // convert the 'Red' argument
  2498. boost::shared_ptr<const DataType> arg = params[base++];
  2499. try { GenericConvert( in->Red, arg, db ); break; }
  2500. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2501. } while(0);
  2502. do { // convert the 'Green' argument
  2503. boost::shared_ptr<const DataType> arg = params[base++];
  2504. try { GenericConvert( in->Green, arg, db ); break; }
  2505. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2506. } while(0);
  2507. do { // convert the 'Blue' argument
  2508. boost::shared_ptr<const DataType> arg = params[base++];
  2509. try { GenericConvert( in->Blue, arg, db ); break; }
  2510. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcColourRgb to be a `IfcNormalisedRatioMeasure`")); }
  2511. } while(0);
  2512. return base;
  2513. }
  2514. // -----------------------------------------------------------------------------------------------------------
  2515. template <> size_t GenericFill<IfcColumn>(const DB& db, const LIST& params, IfcColumn* in)
  2516. {
  2517. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2518. // this data structure is not used yet, so there is no code generated to fill its members
  2519. return base;
  2520. }
  2521. // -----------------------------------------------------------------------------------------------------------
  2522. template <> size_t GenericFill<IfcColumnStandardCase>(const DB& db, const LIST& params, IfcColumnStandardCase* in)
  2523. {
  2524. size_t base = GenericFill(db,params,static_cast<IfcColumn*>(in));
  2525. // this data structure is not used yet, so there is no code generated to fill its members
  2526. return base;
  2527. }
  2528. // -----------------------------------------------------------------------------------------------------------
  2529. template <> size_t GenericFill<IfcColumnType>(const DB& db, const LIST& params, IfcColumnType* in)
  2530. {
  2531. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2532. // this data structure is not used yet, so there is no code generated to fill its members
  2533. return base;
  2534. }
  2535. // -----------------------------------------------------------------------------------------------------------
  2536. template <> size_t GenericFill<IfcCommunicationsAppliance>(const DB& db, const LIST& params, IfcCommunicationsAppliance* in)
  2537. {
  2538. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  2539. // this data structure is not used yet, so there is no code generated to fill its members
  2540. return base;
  2541. }
  2542. // -----------------------------------------------------------------------------------------------------------
  2543. template <> size_t GenericFill<IfcCommunicationsApplianceType>(const DB& db, const LIST& params, IfcCommunicationsApplianceType* in)
  2544. {
  2545. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  2546. // this data structure is not used yet, so there is no code generated to fill its members
  2547. return base;
  2548. }
  2549. // -----------------------------------------------------------------------------------------------------------
  2550. template <> size_t GenericFill<IfcPropertyAbstraction>(const DB& db, const LIST& params, IfcPropertyAbstraction* in)
  2551. {
  2552. size_t base = 0;
  2553. return base;
  2554. }
  2555. // -----------------------------------------------------------------------------------------------------------
  2556. template <> size_t GenericFill<IfcProperty>(const DB& db, const LIST& params, IfcProperty* in)
  2557. {
  2558. size_t base = GenericFill(db,params,static_cast<IfcPropertyAbstraction*>(in));
  2559. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcProperty"); } do { // convert the 'Name' argument
  2560. boost::shared_ptr<const DataType> arg = params[base++];
  2561. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[0]=true; break; }
  2562. try { GenericConvert( in->Name, arg, db ); break; }
  2563. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProperty to be a `IfcIdentifier`")); }
  2564. } while(0);
  2565. do { // convert the 'Description' argument
  2566. boost::shared_ptr<const DataType> arg = params[base++];
  2567. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProperty,2>::aux_is_derived[1]=true; break; }
  2568. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2569. try { GenericConvert( in->Description, arg, db ); break; }
  2570. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProperty to be a `IfcText`")); }
  2571. } while(0);
  2572. return base;
  2573. }
  2574. // -----------------------------------------------------------------------------------------------------------
  2575. template <> size_t GenericFill<IfcComplexProperty>(const DB& db, const LIST& params, IfcComplexProperty* in)
  2576. {
  2577. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  2578. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcComplexProperty"); } do { // convert the 'UsageName' argument
  2579. boost::shared_ptr<const DataType> arg = params[base++];
  2580. try { GenericConvert( in->UsageName, arg, db ); break; }
  2581. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcComplexProperty to be a `IfcIdentifier`")); }
  2582. } while(0);
  2583. do { // convert the 'HasProperties' argument
  2584. boost::shared_ptr<const DataType> arg = params[base++];
  2585. try { GenericConvert( in->HasProperties, arg, db ); break; }
  2586. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcComplexProperty to be a `SET [1:?] OF IfcProperty`")); }
  2587. } while(0);
  2588. return base;
  2589. }
  2590. // -----------------------------------------------------------------------------------------------------------
  2591. template <> size_t GenericFill<IfcPropertyDefinition>(const DB& db, const LIST& params, IfcPropertyDefinition* in)
  2592. {
  2593. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  2594. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyDefinition"); } return base;
  2595. }
  2596. // -----------------------------------------------------------------------------------------------------------
  2597. template <> size_t GenericFill<IfcCompositeCurveSegment>(const DB& db, const LIST& params, IfcCompositeCurveSegment* in)
  2598. {
  2599. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  2600. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcCompositeCurveSegment"); } do { // convert the 'Transition' argument
  2601. boost::shared_ptr<const DataType> arg = params[base++];
  2602. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[0]=true; break; }
  2603. try { GenericConvert( in->Transition, arg, db ); break; }
  2604. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcCompositeCurveSegment to be a `IfcTransitionCode`")); }
  2605. } while(0);
  2606. do { // convert the 'SameSense' argument
  2607. boost::shared_ptr<const DataType> arg = params[base++];
  2608. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[1]=true; break; }
  2609. try { GenericConvert( in->SameSense, arg, db ); break; }
  2610. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcCompositeCurveSegment to be a `IfcBoolean`")); }
  2611. } while(0);
  2612. do { // convert the 'ParentCurve' argument
  2613. boost::shared_ptr<const DataType> arg = params[base++];
  2614. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcCompositeCurveSegment,3>::aux_is_derived[2]=true; break; }
  2615. try { GenericConvert( in->ParentCurve, arg, db ); break; }
  2616. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcCompositeCurveSegment to be a `IfcCurve`")); }
  2617. } while(0);
  2618. return base;
  2619. }
  2620. // -----------------------------------------------------------------------------------------------------------
  2621. template <> size_t GenericFill<IfcCompositeProfileDef>(const DB& db, const LIST& params, IfcCompositeProfileDef* in)
  2622. {
  2623. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2624. // this data structure is not used yet, so there is no code generated to fill its members
  2625. return base;
  2626. }
  2627. // -----------------------------------------------------------------------------------------------------------
  2628. template <> size_t GenericFill<IfcFlowMovingDevice>(const DB& db, const LIST& params, IfcFlowMovingDevice* in)
  2629. {
  2630. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  2631. // this data structure is not used yet, so there is no code generated to fill its members
  2632. return base;
  2633. }
  2634. // -----------------------------------------------------------------------------------------------------------
  2635. template <> size_t GenericFill<IfcCompressor>(const DB& db, const LIST& params, IfcCompressor* in)
  2636. {
  2637. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  2638. // this data structure is not used yet, so there is no code generated to fill its members
  2639. return base;
  2640. }
  2641. // -----------------------------------------------------------------------------------------------------------
  2642. template <> size_t GenericFill<IfcFlowMovingDeviceType>(const DB& db, const LIST& params, IfcFlowMovingDeviceType* in)
  2643. {
  2644. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  2645. // this data structure is not used yet, so there is no code generated to fill its members
  2646. return base;
  2647. }
  2648. // -----------------------------------------------------------------------------------------------------------
  2649. template <> size_t GenericFill<IfcCompressorType>(const DB& db, const LIST& params, IfcCompressorType* in)
  2650. {
  2651. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  2652. // this data structure is not used yet, so there is no code generated to fill its members
  2653. return base;
  2654. }
  2655. // -----------------------------------------------------------------------------------------------------------
  2656. template <> size_t GenericFill<IfcCondenser>(const DB& db, const LIST& params, IfcCondenser* in)
  2657. {
  2658. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2659. // this data structure is not used yet, so there is no code generated to fill its members
  2660. return base;
  2661. }
  2662. // -----------------------------------------------------------------------------------------------------------
  2663. template <> size_t GenericFill<IfcCondenserType>(const DB& db, const LIST& params, IfcCondenserType* in)
  2664. {
  2665. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2666. // this data structure is not used yet, so there is no code generated to fill its members
  2667. return base;
  2668. }
  2669. // -----------------------------------------------------------------------------------------------------------
  2670. template <> size_t GenericFill<IfcResource>(const DB& db, const LIST& params, IfcResource* in)
  2671. {
  2672. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  2673. // this data structure is not used yet, so there is no code generated to fill its members
  2674. return base;
  2675. }
  2676. // -----------------------------------------------------------------------------------------------------------
  2677. template <> size_t GenericFill<IfcConstructionResource>(const DB& db, const LIST& params, IfcConstructionResource* in)
  2678. {
  2679. size_t base = GenericFill(db,params,static_cast<IfcResource*>(in));
  2680. // this data structure is not used yet, so there is no code generated to fill its members
  2681. return base;
  2682. }
  2683. // -----------------------------------------------------------------------------------------------------------
  2684. template <> size_t GenericFill<IfcConstructionEquipmentResource>(const DB& db, const LIST& params, IfcConstructionEquipmentResource* in)
  2685. {
  2686. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2687. // this data structure is not used yet, so there is no code generated to fill its members
  2688. return base;
  2689. }
  2690. // -----------------------------------------------------------------------------------------------------------
  2691. template <> size_t GenericFill<IfcTypeResource>(const DB& db, const LIST& params, IfcTypeResource* in)
  2692. {
  2693. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  2694. // this data structure is not used yet, so there is no code generated to fill its members
  2695. return base;
  2696. }
  2697. // -----------------------------------------------------------------------------------------------------------
  2698. template <> size_t GenericFill<IfcConstructionResourceType>(const DB& db, const LIST& params, IfcConstructionResourceType* in)
  2699. {
  2700. size_t base = GenericFill(db,params,static_cast<IfcTypeResource*>(in));
  2701. // this data structure is not used yet, so there is no code generated to fill its members
  2702. return base;
  2703. }
  2704. // -----------------------------------------------------------------------------------------------------------
  2705. template <> size_t GenericFill<IfcConstructionEquipmentResourceType>(const DB& db, const LIST& params, IfcConstructionEquipmentResourceType* in)
  2706. {
  2707. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2708. // this data structure is not used yet, so there is no code generated to fill its members
  2709. return base;
  2710. }
  2711. // -----------------------------------------------------------------------------------------------------------
  2712. template <> size_t GenericFill<IfcConstructionMaterialResource>(const DB& db, const LIST& params, IfcConstructionMaterialResource* in)
  2713. {
  2714. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2715. // this data structure is not used yet, so there is no code generated to fill its members
  2716. return base;
  2717. }
  2718. // -----------------------------------------------------------------------------------------------------------
  2719. template <> size_t GenericFill<IfcConstructionMaterialResourceType>(const DB& db, const LIST& params, IfcConstructionMaterialResourceType* in)
  2720. {
  2721. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2722. // this data structure is not used yet, so there is no code generated to fill its members
  2723. return base;
  2724. }
  2725. // -----------------------------------------------------------------------------------------------------------
  2726. template <> size_t GenericFill<IfcConstructionProductResource>(const DB& db, const LIST& params, IfcConstructionProductResource* in)
  2727. {
  2728. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2729. // this data structure is not used yet, so there is no code generated to fill its members
  2730. return base;
  2731. }
  2732. // -----------------------------------------------------------------------------------------------------------
  2733. template <> size_t GenericFill<IfcConstructionProductResourceType>(const DB& db, const LIST& params, IfcConstructionProductResourceType* in)
  2734. {
  2735. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2736. // this data structure is not used yet, so there is no code generated to fill its members
  2737. return base;
  2738. }
  2739. // -----------------------------------------------------------------------------------------------------------
  2740. template <> size_t GenericFill<IfcContext>(const DB& db, const LIST& params, IfcContext* in)
  2741. {
  2742. size_t base = GenericFill(db,params,static_cast<IfcObjectDefinition*>(in));
  2743. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcContext"); } do { // convert the 'ObjectType' argument
  2744. boost::shared_ptr<const DataType> arg = params[base++];
  2745. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[0]=true; break; }
  2746. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2747. try { GenericConvert( in->ObjectType, arg, db ); break; }
  2748. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcContext to be a `IfcLabel`")); }
  2749. } while(0);
  2750. do { // convert the 'LongName' argument
  2751. boost::shared_ptr<const DataType> arg = params[base++];
  2752. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[1]=true; break; }
  2753. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2754. try { GenericConvert( in->LongName, arg, db ); break; }
  2755. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcContext to be a `IfcLabel`")); }
  2756. } while(0);
  2757. do { // convert the 'Phase' argument
  2758. boost::shared_ptr<const DataType> arg = params[base++];
  2759. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[2]=true; break; }
  2760. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2761. try { GenericConvert( in->Phase, arg, db ); break; }
  2762. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcContext to be a `IfcLabel`")); }
  2763. } while(0);
  2764. do { // convert the 'RepresentationContexts' argument
  2765. boost::shared_ptr<const DataType> arg = params[base++];
  2766. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[3]=true; break; }
  2767. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2768. try { GenericConvert( in->RepresentationContexts, arg, db ); break; }
  2769. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcContext to be a `SET [1:?] OF IfcRepresentationContext`")); }
  2770. } while(0);
  2771. do { // convert the 'UnitsInContext' argument
  2772. boost::shared_ptr<const DataType> arg = params[base++];
  2773. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcContext,5>::aux_is_derived[4]=true; break; }
  2774. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2775. try { GenericConvert( in->UnitsInContext, arg, db ); break; }
  2776. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcContext to be a `IfcUnitAssignment`")); }
  2777. } while(0);
  2778. return base;
  2779. }
  2780. // -----------------------------------------------------------------------------------------------------------
  2781. template <> size_t GenericFill<IfcNamedUnit>(const DB& db, const LIST& params, IfcNamedUnit* in)
  2782. {
  2783. size_t base = 0;
  2784. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcNamedUnit"); } do { // convert the 'Dimensions' argument
  2785. boost::shared_ptr<const DataType> arg = params[base++];
  2786. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[0]=true; break; }
  2787. try { GenericConvert( in->Dimensions, arg, db ); break; }
  2788. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcNamedUnit to be a `IfcDimensionalExponents`")); }
  2789. } while(0);
  2790. do { // convert the 'UnitType' argument
  2791. boost::shared_ptr<const DataType> arg = params[base++];
  2792. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcNamedUnit,2>::aux_is_derived[1]=true; break; }
  2793. try { GenericConvert( in->UnitType, arg, db ); break; }
  2794. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcNamedUnit to be a `IfcUnitEnum`")); }
  2795. } while(0);
  2796. return base;
  2797. }
  2798. // -----------------------------------------------------------------------------------------------------------
  2799. template <> size_t GenericFill<IfcContextDependentUnit>(const DB& db, const LIST& params, IfcContextDependentUnit* in)
  2800. {
  2801. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2802. // this data structure is not used yet, so there is no code generated to fill its members
  2803. return base;
  2804. }
  2805. // -----------------------------------------------------------------------------------------------------------
  2806. template <> size_t GenericFill<IfcController>(const DB& db, const LIST& params, IfcController* in)
  2807. {
  2808. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  2809. // this data structure is not used yet, so there is no code generated to fill its members
  2810. return base;
  2811. }
  2812. // -----------------------------------------------------------------------------------------------------------
  2813. template <> size_t GenericFill<IfcControllerType>(const DB& db, const LIST& params, IfcControllerType* in)
  2814. {
  2815. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  2816. // this data structure is not used yet, so there is no code generated to fill its members
  2817. return base;
  2818. }
  2819. // -----------------------------------------------------------------------------------------------------------
  2820. template <> size_t GenericFill<IfcConversionBasedUnit>(const DB& db, const LIST& params, IfcConversionBasedUnit* in)
  2821. {
  2822. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  2823. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcConversionBasedUnit"); } do { // convert the 'Name' argument
  2824. boost::shared_ptr<const DataType> arg = params[base++];
  2825. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConversionBasedUnit,2>::aux_is_derived[0]=true; break; }
  2826. try { GenericConvert( in->Name, arg, db ); break; }
  2827. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcConversionBasedUnit to be a `IfcLabel`")); }
  2828. } while(0);
  2829. do { // convert the 'ConversionFactor' argument
  2830. boost::shared_ptr<const DataType> arg = params[base++];
  2831. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcConversionBasedUnit,2>::aux_is_derived[1]=true; break; }
  2832. try { GenericConvert( in->ConversionFactor, arg, db ); break; }
  2833. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcConversionBasedUnit to be a `IfcMeasureWithUnit`")); }
  2834. } while(0);
  2835. return base;
  2836. }
  2837. // -----------------------------------------------------------------------------------------------------------
  2838. template <> size_t GenericFill<IfcConversionBasedUnitWithOffset>(const DB& db, const LIST& params, IfcConversionBasedUnitWithOffset* in)
  2839. {
  2840. size_t base = GenericFill(db,params,static_cast<IfcConversionBasedUnit*>(in));
  2841. // this data structure is not used yet, so there is no code generated to fill its members
  2842. return base;
  2843. }
  2844. // -----------------------------------------------------------------------------------------------------------
  2845. template <> size_t GenericFill<IfcCooledBeam>(const DB& db, const LIST& params, IfcCooledBeam* in)
  2846. {
  2847. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2848. // this data structure is not used yet, so there is no code generated to fill its members
  2849. return base;
  2850. }
  2851. // -----------------------------------------------------------------------------------------------------------
  2852. template <> size_t GenericFill<IfcCooledBeamType>(const DB& db, const LIST& params, IfcCooledBeamType* in)
  2853. {
  2854. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2855. // this data structure is not used yet, so there is no code generated to fill its members
  2856. return base;
  2857. }
  2858. // -----------------------------------------------------------------------------------------------------------
  2859. template <> size_t GenericFill<IfcCoolingTower>(const DB& db, const LIST& params, IfcCoolingTower* in)
  2860. {
  2861. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  2862. // this data structure is not used yet, so there is no code generated to fill its members
  2863. return base;
  2864. }
  2865. // -----------------------------------------------------------------------------------------------------------
  2866. template <> size_t GenericFill<IfcCoolingTowerType>(const DB& db, const LIST& params, IfcCoolingTowerType* in)
  2867. {
  2868. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  2869. // this data structure is not used yet, so there is no code generated to fill its members
  2870. return base;
  2871. }
  2872. // -----------------------------------------------------------------------------------------------------------
  2873. template <> size_t GenericFill<IfcCostItem>(const DB& db, const LIST& params, IfcCostItem* in)
  2874. {
  2875. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2876. // this data structure is not used yet, so there is no code generated to fill its members
  2877. return base;
  2878. }
  2879. // -----------------------------------------------------------------------------------------------------------
  2880. template <> size_t GenericFill<IfcCostSchedule>(const DB& db, const LIST& params, IfcCostSchedule* in)
  2881. {
  2882. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  2883. // this data structure is not used yet, so there is no code generated to fill its members
  2884. return base;
  2885. }
  2886. // -----------------------------------------------------------------------------------------------------------
  2887. template <> size_t GenericFill<IfcCovering>(const DB& db, const LIST& params, IfcCovering* in)
  2888. {
  2889. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2890. // this data structure is not used yet, so there is no code generated to fill its members
  2891. return base;
  2892. }
  2893. // -----------------------------------------------------------------------------------------------------------
  2894. template <> size_t GenericFill<IfcCoveringType>(const DB& db, const LIST& params, IfcCoveringType* in)
  2895. {
  2896. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2897. // this data structure is not used yet, so there is no code generated to fill its members
  2898. return base;
  2899. }
  2900. // -----------------------------------------------------------------------------------------------------------
  2901. template <> size_t GenericFill<IfcCrewResource>(const DB& db, const LIST& params, IfcCrewResource* in)
  2902. {
  2903. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  2904. // this data structure is not used yet, so there is no code generated to fill its members
  2905. return base;
  2906. }
  2907. // -----------------------------------------------------------------------------------------------------------
  2908. template <> size_t GenericFill<IfcCrewResourceType>(const DB& db, const LIST& params, IfcCrewResourceType* in)
  2909. {
  2910. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  2911. // this data structure is not used yet, so there is no code generated to fill its members
  2912. return base;
  2913. }
  2914. // -----------------------------------------------------------------------------------------------------------
  2915. template <> size_t GenericFill<IfcCsgSolid>(const DB& db, const LIST& params, IfcCsgSolid* in)
  2916. {
  2917. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  2918. // this data structure is not used yet, so there is no code generated to fill its members
  2919. return base;
  2920. }
  2921. // -----------------------------------------------------------------------------------------------------------
  2922. template <> size_t GenericFill<IfcCurtainWall>(const DB& db, const LIST& params, IfcCurtainWall* in)
  2923. {
  2924. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  2925. // this data structure is not used yet, so there is no code generated to fill its members
  2926. return base;
  2927. }
  2928. // -----------------------------------------------------------------------------------------------------------
  2929. template <> size_t GenericFill<IfcCurtainWallType>(const DB& db, const LIST& params, IfcCurtainWallType* in)
  2930. {
  2931. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  2932. // this data structure is not used yet, so there is no code generated to fill its members
  2933. return base;
  2934. }
  2935. // -----------------------------------------------------------------------------------------------------------
  2936. template <> size_t GenericFill<IfcCurveBoundedPlane>(const DB& db, const LIST& params, IfcCurveBoundedPlane* in)
  2937. {
  2938. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  2939. // this data structure is not used yet, so there is no code generated to fill its members
  2940. return base;
  2941. }
  2942. // -----------------------------------------------------------------------------------------------------------
  2943. template <> size_t GenericFill<IfcCurveBoundedSurface>(const DB& db, const LIST& params, IfcCurveBoundedSurface* in)
  2944. {
  2945. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  2946. // this data structure is not used yet, so there is no code generated to fill its members
  2947. return base;
  2948. }
  2949. // -----------------------------------------------------------------------------------------------------------
  2950. template <> size_t GenericFill<IfcPresentationStyle>(const DB& db, const LIST& params, IfcPresentationStyle* in)
  2951. {
  2952. size_t base = 0;
  2953. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyle"); } do { // convert the 'Name' argument
  2954. boost::shared_ptr<const DataType> arg = params[base++];
  2955. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcPresentationStyle,1>::aux_is_derived[0]=true; break; }
  2956. if (dynamic_cast<const UNSET*>(&*arg)) break;
  2957. try { GenericConvert( in->Name, arg, db ); break; }
  2958. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyle to be a `IfcLabel`")); }
  2959. } while(0);
  2960. return base;
  2961. }
  2962. // -----------------------------------------------------------------------------------------------------------
  2963. template <> size_t GenericFill<IfcElementarySurface>(const DB& db, const LIST& params, IfcElementarySurface* in)
  2964. {
  2965. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  2966. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcElementarySurface"); } do { // convert the 'Position' argument
  2967. boost::shared_ptr<const DataType> arg = params[base++];
  2968. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcElementarySurface,1>::aux_is_derived[0]=true; break; }
  2969. try { GenericConvert( in->Position, arg, db ); break; }
  2970. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcElementarySurface to be a `IfcAxis2Placement3D`")); }
  2971. } while(0);
  2972. return base;
  2973. }
  2974. // -----------------------------------------------------------------------------------------------------------
  2975. template <> size_t GenericFill<IfcCylindricalSurface>(const DB& db, const LIST& params, IfcCylindricalSurface* in)
  2976. {
  2977. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  2978. // this data structure is not used yet, so there is no code generated to fill its members
  2979. return base;
  2980. }
  2981. // -----------------------------------------------------------------------------------------------------------
  2982. template <> size_t GenericFill<IfcDamper>(const DB& db, const LIST& params, IfcDamper* in)
  2983. {
  2984. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  2985. // this data structure is not used yet, so there is no code generated to fill its members
  2986. return base;
  2987. }
  2988. // -----------------------------------------------------------------------------------------------------------
  2989. template <> size_t GenericFill<IfcDamperType>(const DB& db, const LIST& params, IfcDamperType* in)
  2990. {
  2991. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  2992. // this data structure is not used yet, so there is no code generated to fill its members
  2993. return base;
  2994. }
  2995. // -----------------------------------------------------------------------------------------------------------
  2996. template <> size_t GenericFill<IfcDerivedProfileDef>(const DB& db, const LIST& params, IfcDerivedProfileDef* in)
  2997. {
  2998. size_t base = GenericFill(db,params,static_cast<IfcProfileDef*>(in));
  2999. // this data structure is not used yet, so there is no code generated to fill its members
  3000. return base;
  3001. }
  3002. // -----------------------------------------------------------------------------------------------------------
  3003. template <> size_t GenericFill<IfcDirection>(const DB& db, const LIST& params, IfcDirection* in)
  3004. {
  3005. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3006. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcDirection"); } do { // convert the 'DirectionRatios' argument
  3007. boost::shared_ptr<const DataType> arg = params[base++];
  3008. try { GenericConvert( in->DirectionRatios, arg, db ); break; }
  3009. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcDirection to be a `LIST [2:3] OF IfcReal`")); }
  3010. } while(0);
  3011. return base;
  3012. }
  3013. // -----------------------------------------------------------------------------------------------------------
  3014. template <> size_t GenericFill<IfcDiscreteAccessory>(const DB& db, const LIST& params, IfcDiscreteAccessory* in)
  3015. {
  3016. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3017. // this data structure is not used yet, so there is no code generated to fill its members
  3018. return base;
  3019. }
  3020. // -----------------------------------------------------------------------------------------------------------
  3021. template <> size_t GenericFill<IfcDiscreteAccessoryType>(const DB& db, const LIST& params, IfcDiscreteAccessoryType* in)
  3022. {
  3023. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3024. // this data structure is not used yet, so there is no code generated to fill its members
  3025. return base;
  3026. }
  3027. // -----------------------------------------------------------------------------------------------------------
  3028. template <> size_t GenericFill<IfcDistributionChamberElement>(const DB& db, const LIST& params, IfcDistributionChamberElement* in)
  3029. {
  3030. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3031. // this data structure is not used yet, so there is no code generated to fill its members
  3032. return base;
  3033. }
  3034. // -----------------------------------------------------------------------------------------------------------
  3035. template <> size_t GenericFill<IfcDistributionChamberElementType>(const DB& db, const LIST& params, IfcDistributionChamberElementType* in)
  3036. {
  3037. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3038. // this data structure is not used yet, so there is no code generated to fill its members
  3039. return base;
  3040. }
  3041. // -----------------------------------------------------------------------------------------------------------
  3042. template <> size_t GenericFill<IfcDistributionSystem>(const DB& db, const LIST& params, IfcDistributionSystem* in)
  3043. {
  3044. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  3045. // this data structure is not used yet, so there is no code generated to fill its members
  3046. return base;
  3047. }
  3048. // -----------------------------------------------------------------------------------------------------------
  3049. template <> size_t GenericFill<IfcDistributionCircuit>(const DB& db, const LIST& params, IfcDistributionCircuit* in)
  3050. {
  3051. size_t base = GenericFill(db,params,static_cast<IfcDistributionSystem*>(in));
  3052. // this data structure is not used yet, so there is no code generated to fill its members
  3053. return base;
  3054. }
  3055. // -----------------------------------------------------------------------------------------------------------
  3056. template <> size_t GenericFill<IfcPort>(const DB& db, const LIST& params, IfcPort* in)
  3057. {
  3058. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  3059. // this data structure is not used yet, so there is no code generated to fill its members
  3060. return base;
  3061. }
  3062. // -----------------------------------------------------------------------------------------------------------
  3063. template <> size_t GenericFill<IfcDistributionPort>(const DB& db, const LIST& params, IfcDistributionPort* in)
  3064. {
  3065. size_t base = GenericFill(db,params,static_cast<IfcPort*>(in));
  3066. // this data structure is not used yet, so there is no code generated to fill its members
  3067. return base;
  3068. }
  3069. // -----------------------------------------------------------------------------------------------------------
  3070. template <> size_t GenericFill<IfcDoor>(const DB& db, const LIST& params, IfcDoor* in)
  3071. {
  3072. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3073. if (params.GetSize() < 13) { throw STEP::TypeError("expected 13 arguments to IfcDoor"); } do { // convert the 'OverallHeight' argument
  3074. boost::shared_ptr<const DataType> arg = params[base++];
  3075. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[0]=true; break; }
  3076. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3077. try { GenericConvert( in->OverallHeight, arg, db ); break; }
  3078. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  3079. } while(0);
  3080. do { // convert the 'OverallWidth' argument
  3081. boost::shared_ptr<const DataType> arg = params[base++];
  3082. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[1]=true; break; }
  3083. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3084. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  3085. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcDoor to be a `IfcPositiveLengthMeasure`")); }
  3086. } while(0);
  3087. do { // convert the 'PredefinedType' argument
  3088. boost::shared_ptr<const DataType> arg = params[base++];
  3089. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[2]=true; break; }
  3090. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3091. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  3092. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcDoor to be a `IfcDoorTypeEnum`")); }
  3093. } while(0);
  3094. do { // convert the 'OperationType' argument
  3095. boost::shared_ptr<const DataType> arg = params[base++];
  3096. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[3]=true; break; }
  3097. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3098. try { GenericConvert( in->OperationType, arg, db ); break; }
  3099. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcDoor to be a `IfcDoorTypeOperationEnum`")); }
  3100. } while(0);
  3101. do { // convert the 'UserDefinedOperationType' argument
  3102. boost::shared_ptr<const DataType> arg = params[base++];
  3103. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcDoor,5>::aux_is_derived[4]=true; break; }
  3104. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3105. try { GenericConvert( in->UserDefinedOperationType, arg, db ); break; }
  3106. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcDoor to be a `IfcLabel`")); }
  3107. } while(0);
  3108. return base;
  3109. }
  3110. // -----------------------------------------------------------------------------------------------------------
  3111. template <> size_t GenericFill<IfcPropertySetDefinition>(const DB& db, const LIST& params, IfcPropertySetDefinition* in)
  3112. {
  3113. size_t base = GenericFill(db,params,static_cast<IfcPropertyDefinition*>(in));
  3114. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySetDefinition"); } return base;
  3115. }
  3116. // -----------------------------------------------------------------------------------------------------------
  3117. template <> size_t GenericFill<IfcDoorStandardCase>(const DB& db, const LIST& params, IfcDoorStandardCase* in)
  3118. {
  3119. size_t base = GenericFill(db,params,static_cast<IfcDoor*>(in));
  3120. // this data structure is not used yet, so there is no code generated to fill its members
  3121. return base;
  3122. }
  3123. // -----------------------------------------------------------------------------------------------------------
  3124. template <> size_t GenericFill<IfcDoorStyle>(const DB& db, const LIST& params, IfcDoorStyle* in)
  3125. {
  3126. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  3127. // this data structure is not used yet, so there is no code generated to fill its members
  3128. return base;
  3129. }
  3130. // -----------------------------------------------------------------------------------------------------------
  3131. template <> size_t GenericFill<IfcDoorType>(const DB& db, const LIST& params, IfcDoorType* in)
  3132. {
  3133. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3134. // this data structure is not used yet, so there is no code generated to fill its members
  3135. return base;
  3136. }
  3137. // -----------------------------------------------------------------------------------------------------------
  3138. template <> size_t GenericFill<IfcDuctFitting>(const DB& db, const LIST& params, IfcDuctFitting* in)
  3139. {
  3140. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  3141. // this data structure is not used yet, so there is no code generated to fill its members
  3142. return base;
  3143. }
  3144. // -----------------------------------------------------------------------------------------------------------
  3145. template <> size_t GenericFill<IfcDuctFittingType>(const DB& db, const LIST& params, IfcDuctFittingType* in)
  3146. {
  3147. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3148. // this data structure is not used yet, so there is no code generated to fill its members
  3149. return base;
  3150. }
  3151. // -----------------------------------------------------------------------------------------------------------
  3152. template <> size_t GenericFill<IfcDuctSegment>(const DB& db, const LIST& params, IfcDuctSegment* in)
  3153. {
  3154. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  3155. // this data structure is not used yet, so there is no code generated to fill its members
  3156. return base;
  3157. }
  3158. // -----------------------------------------------------------------------------------------------------------
  3159. template <> size_t GenericFill<IfcDuctSegmentType>(const DB& db, const LIST& params, IfcDuctSegmentType* in)
  3160. {
  3161. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  3162. // this data structure is not used yet, so there is no code generated to fill its members
  3163. return base;
  3164. }
  3165. // -----------------------------------------------------------------------------------------------------------
  3166. template <> size_t GenericFill<IfcFlowTreatmentDevice>(const DB& db, const LIST& params, IfcFlowTreatmentDevice* in)
  3167. {
  3168. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3169. // this data structure is not used yet, so there is no code generated to fill its members
  3170. return base;
  3171. }
  3172. // -----------------------------------------------------------------------------------------------------------
  3173. template <> size_t GenericFill<IfcDuctSilencer>(const DB& db, const LIST& params, IfcDuctSilencer* in)
  3174. {
  3175. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3176. // this data structure is not used yet, so there is no code generated to fill its members
  3177. return base;
  3178. }
  3179. // -----------------------------------------------------------------------------------------------------------
  3180. template <> size_t GenericFill<IfcFlowTreatmentDeviceType>(const DB& db, const LIST& params, IfcFlowTreatmentDeviceType* in)
  3181. {
  3182. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3183. // this data structure is not used yet, so there is no code generated to fill its members
  3184. return base;
  3185. }
  3186. // -----------------------------------------------------------------------------------------------------------
  3187. template <> size_t GenericFill<IfcDuctSilencerType>(const DB& db, const LIST& params, IfcDuctSilencerType* in)
  3188. {
  3189. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3190. // this data structure is not used yet, so there is no code generated to fill its members
  3191. return base;
  3192. }
  3193. // -----------------------------------------------------------------------------------------------------------
  3194. template <> size_t GenericFill<IfcEdge>(const DB& db, const LIST& params, IfcEdge* in)
  3195. {
  3196. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3197. // this data structure is not used yet, so there is no code generated to fill its members
  3198. return base;
  3199. }
  3200. // -----------------------------------------------------------------------------------------------------------
  3201. template <> size_t GenericFill<IfcEdgeCurve>(const DB& db, const LIST& params, IfcEdgeCurve* in)
  3202. {
  3203. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  3204. // this data structure is not used yet, so there is no code generated to fill its members
  3205. return base;
  3206. }
  3207. // -----------------------------------------------------------------------------------------------------------
  3208. template <> size_t GenericFill<IfcLoop>(const DB& db, const LIST& params, IfcLoop* in)
  3209. {
  3210. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3211. return base;
  3212. }
  3213. // -----------------------------------------------------------------------------------------------------------
  3214. template <> size_t GenericFill<IfcEdgeLoop>(const DB& db, const LIST& params, IfcEdgeLoop* in)
  3215. {
  3216. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  3217. // this data structure is not used yet, so there is no code generated to fill its members
  3218. return base;
  3219. }
  3220. // -----------------------------------------------------------------------------------------------------------
  3221. template <> size_t GenericFill<IfcElectricAppliance>(const DB& db, const LIST& params, IfcElectricAppliance* in)
  3222. {
  3223. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  3224. // this data structure is not used yet, so there is no code generated to fill its members
  3225. return base;
  3226. }
  3227. // -----------------------------------------------------------------------------------------------------------
  3228. template <> size_t GenericFill<IfcElectricApplianceType>(const DB& db, const LIST& params, IfcElectricApplianceType* in)
  3229. {
  3230. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3231. // this data structure is not used yet, so there is no code generated to fill its members
  3232. return base;
  3233. }
  3234. // -----------------------------------------------------------------------------------------------------------
  3235. template <> size_t GenericFill<IfcElectricDistributionBoard>(const DB& db, const LIST& params, IfcElectricDistributionBoard* in)
  3236. {
  3237. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  3238. // this data structure is not used yet, so there is no code generated to fill its members
  3239. return base;
  3240. }
  3241. // -----------------------------------------------------------------------------------------------------------
  3242. template <> size_t GenericFill<IfcElectricDistributionBoardType>(const DB& db, const LIST& params, IfcElectricDistributionBoardType* in)
  3243. {
  3244. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3245. // this data structure is not used yet, so there is no code generated to fill its members
  3246. return base;
  3247. }
  3248. // -----------------------------------------------------------------------------------------------------------
  3249. template <> size_t GenericFill<IfcFlowStorageDevice>(const DB& db, const LIST& params, IfcFlowStorageDevice* in)
  3250. {
  3251. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElement*>(in));
  3252. // this data structure is not used yet, so there is no code generated to fill its members
  3253. return base;
  3254. }
  3255. // -----------------------------------------------------------------------------------------------------------
  3256. template <> size_t GenericFill<IfcElectricFlowStorageDevice>(const DB& db, const LIST& params, IfcElectricFlowStorageDevice* in)
  3257. {
  3258. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDevice*>(in));
  3259. // this data structure is not used yet, so there is no code generated to fill its members
  3260. return base;
  3261. }
  3262. // -----------------------------------------------------------------------------------------------------------
  3263. template <> size_t GenericFill<IfcFlowStorageDeviceType>(const DB& db, const LIST& params, IfcFlowStorageDeviceType* in)
  3264. {
  3265. size_t base = GenericFill(db,params,static_cast<IfcDistributionFlowElementType*>(in));
  3266. // this data structure is not used yet, so there is no code generated to fill its members
  3267. return base;
  3268. }
  3269. // -----------------------------------------------------------------------------------------------------------
  3270. template <> size_t GenericFill<IfcElectricFlowStorageDeviceType>(const DB& db, const LIST& params, IfcElectricFlowStorageDeviceType* in)
  3271. {
  3272. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  3273. // this data structure is not used yet, so there is no code generated to fill its members
  3274. return base;
  3275. }
  3276. // -----------------------------------------------------------------------------------------------------------
  3277. template <> size_t GenericFill<IfcElectricGenerator>(const DB& db, const LIST& params, IfcElectricGenerator* in)
  3278. {
  3279. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3280. // this data structure is not used yet, so there is no code generated to fill its members
  3281. return base;
  3282. }
  3283. // -----------------------------------------------------------------------------------------------------------
  3284. template <> size_t GenericFill<IfcElectricGeneratorType>(const DB& db, const LIST& params, IfcElectricGeneratorType* in)
  3285. {
  3286. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3287. // this data structure is not used yet, so there is no code generated to fill its members
  3288. return base;
  3289. }
  3290. // -----------------------------------------------------------------------------------------------------------
  3291. template <> size_t GenericFill<IfcElectricMotor>(const DB& db, const LIST& params, IfcElectricMotor* in)
  3292. {
  3293. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3294. // this data structure is not used yet, so there is no code generated to fill its members
  3295. return base;
  3296. }
  3297. // -----------------------------------------------------------------------------------------------------------
  3298. template <> size_t GenericFill<IfcElectricMotorType>(const DB& db, const LIST& params, IfcElectricMotorType* in)
  3299. {
  3300. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3301. // this data structure is not used yet, so there is no code generated to fill its members
  3302. return base;
  3303. }
  3304. // -----------------------------------------------------------------------------------------------------------
  3305. template <> size_t GenericFill<IfcElectricTimeControl>(const DB& db, const LIST& params, IfcElectricTimeControl* in)
  3306. {
  3307. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  3308. // this data structure is not used yet, so there is no code generated to fill its members
  3309. return base;
  3310. }
  3311. // -----------------------------------------------------------------------------------------------------------
  3312. template <> size_t GenericFill<IfcElectricTimeControlType>(const DB& db, const LIST& params, IfcElectricTimeControlType* in)
  3313. {
  3314. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  3315. // this data structure is not used yet, so there is no code generated to fill its members
  3316. return base;
  3317. }
  3318. // -----------------------------------------------------------------------------------------------------------
  3319. template <> size_t GenericFill<IfcElementAssembly>(const DB& db, const LIST& params, IfcElementAssembly* in)
  3320. {
  3321. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3322. // this data structure is not used yet, so there is no code generated to fill its members
  3323. return base;
  3324. }
  3325. // -----------------------------------------------------------------------------------------------------------
  3326. template <> size_t GenericFill<IfcElementAssemblyType>(const DB& db, const LIST& params, IfcElementAssemblyType* in)
  3327. {
  3328. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3329. // this data structure is not used yet, so there is no code generated to fill its members
  3330. return base;
  3331. }
  3332. // -----------------------------------------------------------------------------------------------------------
  3333. template <> size_t GenericFill<IfcQuantitySet>(const DB& db, const LIST& params, IfcQuantitySet* in)
  3334. {
  3335. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  3336. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcQuantitySet"); } return base;
  3337. }
  3338. // -----------------------------------------------------------------------------------------------------------
  3339. template <> size_t GenericFill<IfcElementQuantity>(const DB& db, const LIST& params, IfcElementQuantity* in)
  3340. {
  3341. size_t base = GenericFill(db,params,static_cast<IfcQuantitySet*>(in));
  3342. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcElementQuantity"); } do { // convert the 'MethodOfMeasurement' argument
  3343. boost::shared_ptr<const DataType> arg = params[base++];
  3344. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3345. try { GenericConvert( in->MethodOfMeasurement, arg, db ); break; }
  3346. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcElementQuantity to be a `IfcLabel`")); }
  3347. } while(0);
  3348. do { // convert the 'Quantities' argument
  3349. boost::shared_ptr<const DataType> arg = params[base++];
  3350. try { GenericConvert( in->Quantities, arg, db ); break; }
  3351. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcElementQuantity to be a `SET [1:?] OF IfcPhysicalQuantity`")); }
  3352. } while(0);
  3353. return base;
  3354. }
  3355. // -----------------------------------------------------------------------------------------------------------
  3356. template <> size_t GenericFill<IfcEllipse>(const DB& db, const LIST& params, IfcEllipse* in)
  3357. {
  3358. size_t base = GenericFill(db,params,static_cast<IfcConic*>(in));
  3359. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcEllipse"); } do { // convert the 'SemiAxis1' argument
  3360. boost::shared_ptr<const DataType> arg = params[base++];
  3361. try { GenericConvert( in->SemiAxis1, arg, db ); break; }
  3362. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  3363. } while(0);
  3364. do { // convert the 'SemiAxis2' argument
  3365. boost::shared_ptr<const DataType> arg = params[base++];
  3366. try { GenericConvert( in->SemiAxis2, arg, db ); break; }
  3367. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcEllipse to be a `IfcPositiveLengthMeasure`")); }
  3368. } while(0);
  3369. return base;
  3370. }
  3371. // -----------------------------------------------------------------------------------------------------------
  3372. template <> size_t GenericFill<IfcEllipseProfileDef>(const DB& db, const LIST& params, IfcEllipseProfileDef* in)
  3373. {
  3374. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3375. // this data structure is not used yet, so there is no code generated to fill its members
  3376. return base;
  3377. }
  3378. // -----------------------------------------------------------------------------------------------------------
  3379. template <> size_t GenericFill<IfcEngine>(const DB& db, const LIST& params, IfcEngine* in)
  3380. {
  3381. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3382. // this data structure is not used yet, so there is no code generated to fill its members
  3383. return base;
  3384. }
  3385. // -----------------------------------------------------------------------------------------------------------
  3386. template <> size_t GenericFill<IfcEngineType>(const DB& db, const LIST& params, IfcEngineType* in)
  3387. {
  3388. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(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<IfcEvaporativeCooler>(const DB& db, const LIST& params, IfcEvaporativeCooler* in)
  3394. {
  3395. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3396. // this data structure is not used yet, so there is no code generated to fill its members
  3397. return base;
  3398. }
  3399. // -----------------------------------------------------------------------------------------------------------
  3400. template <> size_t GenericFill<IfcEvaporativeCoolerType>(const DB& db, const LIST& params, IfcEvaporativeCoolerType* in)
  3401. {
  3402. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3403. // this data structure is not used yet, so there is no code generated to fill its members
  3404. return base;
  3405. }
  3406. // -----------------------------------------------------------------------------------------------------------
  3407. template <> size_t GenericFill<IfcEvaporator>(const DB& db, const LIST& params, IfcEvaporator* in)
  3408. {
  3409. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3410. // this data structure is not used yet, so there is no code generated to fill its members
  3411. return base;
  3412. }
  3413. // -----------------------------------------------------------------------------------------------------------
  3414. template <> size_t GenericFill<IfcEvaporatorType>(const DB& db, const LIST& params, IfcEvaporatorType* in)
  3415. {
  3416. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3417. // this data structure is not used yet, so there is no code generated to fill its members
  3418. return base;
  3419. }
  3420. // -----------------------------------------------------------------------------------------------------------
  3421. template <> size_t GenericFill<IfcProcess>(const DB& db, const LIST& params, IfcProcess* in)
  3422. {
  3423. size_t base = GenericFill(db,params,static_cast<IfcObject*>(in));
  3424. // this data structure is not used yet, so there is no code generated to fill its members
  3425. return base;
  3426. }
  3427. // -----------------------------------------------------------------------------------------------------------
  3428. template <> size_t GenericFill<IfcEvent>(const DB& db, const LIST& params, IfcEvent* in)
  3429. {
  3430. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  3431. // this data structure is not used yet, so there is no code generated to fill its members
  3432. return base;
  3433. }
  3434. // -----------------------------------------------------------------------------------------------------------
  3435. template <> size_t GenericFill<IfcTypeProcess>(const DB& db, const LIST& params, IfcTypeProcess* in)
  3436. {
  3437. size_t base = GenericFill(db,params,static_cast<IfcTypeObject*>(in));
  3438. // this data structure is not used yet, so there is no code generated to fill its members
  3439. return base;
  3440. }
  3441. // -----------------------------------------------------------------------------------------------------------
  3442. template <> size_t GenericFill<IfcEventType>(const DB& db, const LIST& params, IfcEventType* in)
  3443. {
  3444. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  3445. // this data structure is not used yet, so there is no code generated to fill its members
  3446. return base;
  3447. }
  3448. // -----------------------------------------------------------------------------------------------------------
  3449. template <> size_t GenericFill<IfcExternalSpatialStructureElement>(const DB& db, const LIST& params, IfcExternalSpatialStructureElement* in)
  3450. {
  3451. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  3452. // this data structure is not used yet, so there is no code generated to fill its members
  3453. return base;
  3454. }
  3455. // -----------------------------------------------------------------------------------------------------------
  3456. template <> size_t GenericFill<IfcExternalSpatialElement>(const DB& db, const LIST& params, IfcExternalSpatialElement* in)
  3457. {
  3458. size_t base = GenericFill(db,params,static_cast<IfcExternalSpatialStructureElement*>(in));
  3459. // this data structure is not used yet, so there is no code generated to fill its members
  3460. return base;
  3461. }
  3462. // -----------------------------------------------------------------------------------------------------------
  3463. template <> size_t GenericFill<IfcSweptAreaSolid>(const DB& db, const LIST& params, IfcSweptAreaSolid* in)
  3464. {
  3465. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  3466. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSweptAreaSolid"); } do { // convert the 'SweptArea' argument
  3467. boost::shared_ptr<const DataType> arg = params[base++];
  3468. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[0]=true; break; }
  3469. try { GenericConvert( in->SweptArea, arg, db ); break; }
  3470. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptAreaSolid to be a `IfcProfileDef`")); }
  3471. } while(0);
  3472. do { // convert the 'Position' argument
  3473. boost::shared_ptr<const DataType> arg = params[base++];
  3474. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptAreaSolid,2>::aux_is_derived[1]=true; break; }
  3475. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3476. try { GenericConvert( in->Position, arg, db ); break; }
  3477. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptAreaSolid to be a `IfcAxis2Placement3D`")); }
  3478. } while(0);
  3479. return base;
  3480. }
  3481. // -----------------------------------------------------------------------------------------------------------
  3482. template <> size_t GenericFill<IfcExtrudedAreaSolid>(const DB& db, const LIST& params, IfcExtrudedAreaSolid* in)
  3483. {
  3484. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  3485. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcExtrudedAreaSolid"); } do { // convert the 'ExtrudedDirection' argument
  3486. boost::shared_ptr<const DataType> arg = params[base++];
  3487. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcExtrudedAreaSolid,2>::aux_is_derived[0]=true; break; }
  3488. try { GenericConvert( in->ExtrudedDirection, arg, db ); break; }
  3489. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcExtrudedAreaSolid to be a `IfcDirection`")); }
  3490. } while(0);
  3491. do { // convert the 'Depth' argument
  3492. boost::shared_ptr<const DataType> arg = params[base++];
  3493. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcExtrudedAreaSolid,2>::aux_is_derived[1]=true; break; }
  3494. try { GenericConvert( in->Depth, arg, db ); break; }
  3495. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcExtrudedAreaSolid to be a `IfcPositiveLengthMeasure`")); }
  3496. } while(0);
  3497. return base;
  3498. }
  3499. // -----------------------------------------------------------------------------------------------------------
  3500. template <> size_t GenericFill<IfcExtrudedAreaSolidTapered>(const DB& db, const LIST& params, IfcExtrudedAreaSolidTapered* in)
  3501. {
  3502. size_t base = GenericFill(db,params,static_cast<IfcExtrudedAreaSolid*>(in));
  3503. // this data structure is not used yet, so there is no code generated to fill its members
  3504. return base;
  3505. }
  3506. // -----------------------------------------------------------------------------------------------------------
  3507. template <> size_t GenericFill<IfcFaceBasedSurfaceModel>(const DB& db, const LIST& params, IfcFaceBasedSurfaceModel* in)
  3508. {
  3509. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3510. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcFaceBasedSurfaceModel"); } do { // convert the 'FbsmFaces' argument
  3511. boost::shared_ptr<const DataType> arg = params[base++];
  3512. try { GenericConvert( in->FbsmFaces, arg, db ); break; }
  3513. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBasedSurfaceModel to be a `SET [1:?] OF IfcConnectedFaceSet`")); }
  3514. } while(0);
  3515. return base;
  3516. }
  3517. // -----------------------------------------------------------------------------------------------------------
  3518. template <> size_t GenericFill<IfcFaceBound>(const DB& db, const LIST& params, IfcFaceBound* in)
  3519. {
  3520. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  3521. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceBound"); } do { // convert the 'Bound' argument
  3522. boost::shared_ptr<const DataType> arg = params[base++];
  3523. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[0]=true; break; }
  3524. try { GenericConvert( in->Bound, arg, db ); break; }
  3525. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcFaceBound to be a `IfcLoop`")); }
  3526. } while(0);
  3527. do { // convert the 'Orientation' argument
  3528. boost::shared_ptr<const DataType> arg = params[base++];
  3529. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcFaceBound,2>::aux_is_derived[1]=true; break; }
  3530. try { GenericConvert( in->Orientation, arg, db ); break; }
  3531. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcFaceBound to be a `IfcBoolean`")); }
  3532. } while(0);
  3533. return base;
  3534. }
  3535. // -----------------------------------------------------------------------------------------------------------
  3536. template <> size_t GenericFill<IfcFaceOuterBound>(const DB& db, const LIST& params, IfcFaceOuterBound* in)
  3537. {
  3538. size_t base = GenericFill(db,params,static_cast<IfcFaceBound*>(in));
  3539. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcFaceOuterBound"); } return base;
  3540. }
  3541. // -----------------------------------------------------------------------------------------------------------
  3542. template <> size_t GenericFill<IfcFacetedBrep>(const DB& db, const LIST& params, IfcFacetedBrep* in)
  3543. {
  3544. size_t base = GenericFill(db,params,static_cast<IfcManifoldSolidBrep*>(in));
  3545. // this data structure is not used yet, so there is no code generated to fill its members
  3546. return base;
  3547. }
  3548. // -----------------------------------------------------------------------------------------------------------
  3549. template <> size_t GenericFill<IfcFacetedBrepWithVoids>(const DB& db, const LIST& params, IfcFacetedBrepWithVoids* in)
  3550. {
  3551. size_t base = GenericFill(db,params,static_cast<IfcFacetedBrep*>(in));
  3552. // this data structure is not used yet, so there is no code generated to fill its members
  3553. return base;
  3554. }
  3555. // -----------------------------------------------------------------------------------------------------------
  3556. template <> size_t GenericFill<IfcFan>(const DB& db, const LIST& params, IfcFan* in)
  3557. {
  3558. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  3559. // this data structure is not used yet, so there is no code generated to fill its members
  3560. return base;
  3561. }
  3562. // -----------------------------------------------------------------------------------------------------------
  3563. template <> size_t GenericFill<IfcFanType>(const DB& db, const LIST& params, IfcFanType* in)
  3564. {
  3565. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  3566. // this data structure is not used yet, so there is no code generated to fill its members
  3567. return base;
  3568. }
  3569. // -----------------------------------------------------------------------------------------------------------
  3570. template <> size_t GenericFill<IfcFastener>(const DB& db, const LIST& params, IfcFastener* in)
  3571. {
  3572. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  3573. // this data structure is not used yet, so there is no code generated to fill its members
  3574. return base;
  3575. }
  3576. // -----------------------------------------------------------------------------------------------------------
  3577. template <> size_t GenericFill<IfcFastenerType>(const DB& db, const LIST& params, IfcFastenerType* in)
  3578. {
  3579. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  3580. // this data structure is not used yet, so there is no code generated to fill its members
  3581. return base;
  3582. }
  3583. // -----------------------------------------------------------------------------------------------------------
  3584. template <> size_t GenericFill<IfcFeatureElement>(const DB& db, const LIST& params, IfcFeatureElement* in)
  3585. {
  3586. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3587. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElement"); } return base;
  3588. }
  3589. // -----------------------------------------------------------------------------------------------------------
  3590. template <> size_t GenericFill<IfcFeatureElementAddition>(const DB& db, const LIST& params, IfcFeatureElementAddition* in)
  3591. {
  3592. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  3593. // this data structure is not used yet, so there is no code generated to fill its members
  3594. return base;
  3595. }
  3596. // -----------------------------------------------------------------------------------------------------------
  3597. template <> size_t GenericFill<IfcFeatureElementSubtraction>(const DB& db, const LIST& params, IfcFeatureElementSubtraction* in)
  3598. {
  3599. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  3600. if (params.GetSize() < 8) { throw STEP::TypeError("expected 8 arguments to IfcFeatureElementSubtraction"); } return base;
  3601. }
  3602. // -----------------------------------------------------------------------------------------------------------
  3603. template <> size_t GenericFill<IfcFillAreaStyleHatching>(const DB& db, const LIST& params, IfcFillAreaStyleHatching* in)
  3604. {
  3605. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(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<IfcFillAreaStyleTiles>(const DB& db, const LIST& params, IfcFillAreaStyleTiles* in)
  3611. {
  3612. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(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<IfcFilter>(const DB& db, const LIST& params, IfcFilter* in)
  3618. {
  3619. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3620. // this data structure is not used yet, so there is no code generated to fill its members
  3621. return base;
  3622. }
  3623. // -----------------------------------------------------------------------------------------------------------
  3624. template <> size_t GenericFill<IfcFilterType>(const DB& db, const LIST& params, IfcFilterType* in)
  3625. {
  3626. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3627. // this data structure is not used yet, so there is no code generated to fill its members
  3628. return base;
  3629. }
  3630. // -----------------------------------------------------------------------------------------------------------
  3631. template <> size_t GenericFill<IfcFireSuppressionTerminal>(const DB& db, const LIST& params, IfcFireSuppressionTerminal* in)
  3632. {
  3633. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  3634. // this data structure is not used yet, so there is no code generated to fill its members
  3635. return base;
  3636. }
  3637. // -----------------------------------------------------------------------------------------------------------
  3638. template <> size_t GenericFill<IfcFireSuppressionTerminalType>(const DB& db, const LIST& params, IfcFireSuppressionTerminalType* in)
  3639. {
  3640. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  3641. // this data structure is not used yet, so there is no code generated to fill its members
  3642. return base;
  3643. }
  3644. // -----------------------------------------------------------------------------------------------------------
  3645. template <> size_t GenericFill<IfcFixedReferenceSweptAreaSolid>(const DB& db, const LIST& params, IfcFixedReferenceSweptAreaSolid* in)
  3646. {
  3647. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  3648. // this data structure is not used yet, so there is no code generated to fill its members
  3649. return base;
  3650. }
  3651. // -----------------------------------------------------------------------------------------------------------
  3652. template <> size_t GenericFill<IfcFlowInstrument>(const DB& db, const LIST& params, IfcFlowInstrument* in)
  3653. {
  3654. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  3655. // this data structure is not used yet, so there is no code generated to fill its members
  3656. return base;
  3657. }
  3658. // -----------------------------------------------------------------------------------------------------------
  3659. template <> size_t GenericFill<IfcFlowInstrumentType>(const DB& db, const LIST& params, IfcFlowInstrumentType* in)
  3660. {
  3661. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  3662. // this data structure is not used yet, so there is no code generated to fill its members
  3663. return base;
  3664. }
  3665. // -----------------------------------------------------------------------------------------------------------
  3666. template <> size_t GenericFill<IfcFlowMeter>(const DB& db, const LIST& params, IfcFlowMeter* in)
  3667. {
  3668. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(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<IfcFlowMeterType>(const DB& db, const LIST& params, IfcFlowMeterType* in)
  3674. {
  3675. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(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<IfcFooting>(const DB& db, const LIST& params, IfcFooting* in)
  3681. {
  3682. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  3683. // this data structure is not used yet, so there is no code generated to fill its members
  3684. return base;
  3685. }
  3686. // -----------------------------------------------------------------------------------------------------------
  3687. template <> size_t GenericFill<IfcFootingType>(const DB& db, const LIST& params, IfcFootingType* in)
  3688. {
  3689. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  3690. // this data structure is not used yet, so there is no code generated to fill its members
  3691. return base;
  3692. }
  3693. // -----------------------------------------------------------------------------------------------------------
  3694. template <> size_t GenericFill<IfcFurnishingElement>(const DB& db, const LIST& params, IfcFurnishingElement* in)
  3695. {
  3696. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  3697. // this data structure is not used yet, so there is no code generated to fill its members
  3698. return base;
  3699. }
  3700. // -----------------------------------------------------------------------------------------------------------
  3701. template <> size_t GenericFill<IfcFurnishingElementType>(const DB& db, const LIST& params, IfcFurnishingElementType* in)
  3702. {
  3703. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  3704. // this data structure is not used yet, so there is no code generated to fill its members
  3705. return base;
  3706. }
  3707. // -----------------------------------------------------------------------------------------------------------
  3708. template <> size_t GenericFill<IfcFurniture>(const DB& db, const LIST& params, IfcFurniture* in)
  3709. {
  3710. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElement*>(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<IfcFurnitureType>(const DB& db, const LIST& params, IfcFurnitureType* in)
  3716. {
  3717. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(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<IfcGeographicElement>(const DB& db, const LIST& params, IfcGeographicElement* in)
  3723. {
  3724. size_t base = GenericFill(db,params,static_cast<IfcElement*>(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<IfcGeographicElementType>(const DB& db, const LIST& params, IfcGeographicElementType* in)
  3730. {
  3731. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(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<IfcGeometricSet>(const DB& db, const LIST& params, IfcGeometricSet* in)
  3737. {
  3738. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3739. // this data structure is not used yet, so there is no code generated to fill its members
  3740. return base;
  3741. }
  3742. // -----------------------------------------------------------------------------------------------------------
  3743. template <> size_t GenericFill<IfcGeometricCurveSet>(const DB& db, const LIST& params, IfcGeometricCurveSet* in)
  3744. {
  3745. size_t base = GenericFill(db,params,static_cast<IfcGeometricSet*>(in));
  3746. // this data structure is not used yet, so there is no code generated to fill its members
  3747. return base;
  3748. }
  3749. // -----------------------------------------------------------------------------------------------------------
  3750. template <> size_t GenericFill<IfcRepresentationContext>(const DB& db, const LIST& params, IfcRepresentationContext* in)
  3751. {
  3752. size_t base = 0;
  3753. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationContext"); } do { // convert the 'ContextIdentifier' argument
  3754. boost::shared_ptr<const DataType> arg = params[base++];
  3755. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[0]=true; break; }
  3756. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3757. try { GenericConvert( in->ContextIdentifier, arg, db ); break; }
  3758. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationContext to be a `IfcLabel`")); }
  3759. } while(0);
  3760. do { // convert the 'ContextType' argument
  3761. boost::shared_ptr<const DataType> arg = params[base++];
  3762. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentationContext,2>::aux_is_derived[1]=true; break; }
  3763. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3764. try { GenericConvert( in->ContextType, arg, db ); break; }
  3765. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationContext to be a `IfcLabel`")); }
  3766. } while(0);
  3767. return base;
  3768. }
  3769. // -----------------------------------------------------------------------------------------------------------
  3770. template <> size_t GenericFill<IfcGeometricRepresentationContext>(const DB& db, const LIST& params, IfcGeometricRepresentationContext* in)
  3771. {
  3772. size_t base = GenericFill(db,params,static_cast<IfcRepresentationContext*>(in));
  3773. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcGeometricRepresentationContext"); } do { // convert the 'CoordinateSpaceDimension' argument
  3774. boost::shared_ptr<const DataType> arg = params[base++];
  3775. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[0]=true; break; }
  3776. try { GenericConvert( in->CoordinateSpaceDimension, arg, db ); break; }
  3777. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcGeometricRepresentationContext to be a `IfcDimensionCount`")); }
  3778. } while(0);
  3779. do { // convert the 'Precision' argument
  3780. boost::shared_ptr<const DataType> arg = params[base++];
  3781. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[1]=true; break; }
  3782. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3783. try { GenericConvert( in->Precision, arg, db ); break; }
  3784. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcGeometricRepresentationContext to be a `IfcReal`")); }
  3785. } while(0);
  3786. do { // convert the 'WorldCoordinateSystem' argument
  3787. boost::shared_ptr<const DataType> arg = params[base++];
  3788. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[2]=true; break; }
  3789. try { GenericConvert( in->WorldCoordinateSystem, arg, db ); break; }
  3790. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcGeometricRepresentationContext to be a `IfcAxis2Placement`")); }
  3791. } while(0);
  3792. do { // convert the 'TrueNorth' argument
  3793. boost::shared_ptr<const DataType> arg = params[base++];
  3794. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcGeometricRepresentationContext,4>::aux_is_derived[3]=true; break; }
  3795. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3796. try { GenericConvert( in->TrueNorth, arg, db ); break; }
  3797. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcGeometricRepresentationContext to be a `IfcDirection`")); }
  3798. } while(0);
  3799. return base;
  3800. }
  3801. // -----------------------------------------------------------------------------------------------------------
  3802. template <> size_t GenericFill<IfcGeometricRepresentationSubContext>(const DB& db, const LIST& params, IfcGeometricRepresentationSubContext* in)
  3803. {
  3804. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationContext*>(in));
  3805. // this data structure is not used yet, so there is no code generated to fill its members
  3806. return base;
  3807. }
  3808. // -----------------------------------------------------------------------------------------------------------
  3809. template <> size_t GenericFill<IfcGrid>(const DB& db, const LIST& params, IfcGrid* in)
  3810. {
  3811. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(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<IfcObjectPlacement>(const DB& db, const LIST& params, IfcObjectPlacement* in)
  3817. {
  3818. size_t base = 0;
  3819. return base;
  3820. }
  3821. // -----------------------------------------------------------------------------------------------------------
  3822. template <> size_t GenericFill<IfcGridPlacement>(const DB& db, const LIST& params, IfcGridPlacement* in)
  3823. {
  3824. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  3825. // this data structure is not used yet, so there is no code generated to fill its members
  3826. return base;
  3827. }
  3828. // -----------------------------------------------------------------------------------------------------------
  3829. template <> size_t GenericFill<IfcHeatExchanger>(const DB& db, const LIST& params, IfcHeatExchanger* in)
  3830. {
  3831. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3832. // this data structure is not used yet, so there is no code generated to fill its members
  3833. return base;
  3834. }
  3835. // -----------------------------------------------------------------------------------------------------------
  3836. template <> size_t GenericFill<IfcHeatExchangerType>(const DB& db, const LIST& params, IfcHeatExchangerType* in)
  3837. {
  3838. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3839. // this data structure is not used yet, so there is no code generated to fill its members
  3840. return base;
  3841. }
  3842. // -----------------------------------------------------------------------------------------------------------
  3843. template <> size_t GenericFill<IfcHumidifier>(const DB& db, const LIST& params, IfcHumidifier* in)
  3844. {
  3845. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  3846. // this data structure is not used yet, so there is no code generated to fill its members
  3847. return base;
  3848. }
  3849. // -----------------------------------------------------------------------------------------------------------
  3850. template <> size_t GenericFill<IfcHumidifierType>(const DB& db, const LIST& params, IfcHumidifierType* in)
  3851. {
  3852. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  3853. // this data structure is not used yet, so there is no code generated to fill its members
  3854. return base;
  3855. }
  3856. // -----------------------------------------------------------------------------------------------------------
  3857. template <> size_t GenericFill<IfcIShapeProfileDef>(const DB& db, const LIST& params, IfcIShapeProfileDef* in)
  3858. {
  3859. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3860. if (params.GetSize() < 10) { throw STEP::TypeError("expected 10 arguments to IfcIShapeProfileDef"); } do { // convert the 'OverallWidth' argument
  3861. boost::shared_ptr<const DataType> arg = params[base++];
  3862. try { GenericConvert( in->OverallWidth, arg, db ); break; }
  3863. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3864. } while(0);
  3865. do { // convert the 'OverallDepth' argument
  3866. boost::shared_ptr<const DataType> arg = params[base++];
  3867. try { GenericConvert( in->OverallDepth, arg, db ); break; }
  3868. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3869. } while(0);
  3870. do { // convert the 'WebThickness' argument
  3871. boost::shared_ptr<const DataType> arg = params[base++];
  3872. try { GenericConvert( in->WebThickness, arg, db ); break; }
  3873. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3874. } while(0);
  3875. do { // convert the 'FlangeThickness' argument
  3876. boost::shared_ptr<const DataType> arg = params[base++];
  3877. try { GenericConvert( in->FlangeThickness, arg, db ); break; }
  3878. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcIShapeProfileDef to be a `IfcPositiveLengthMeasure`")); }
  3879. } while(0);
  3880. do { // convert the 'FilletRadius' argument
  3881. boost::shared_ptr<const DataType> arg = params[base++];
  3882. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3883. try { GenericConvert( in->FilletRadius, arg, db ); break; }
  3884. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcIShapeProfileDef to be a `IfcNonNegativeLengthMeasure`")); }
  3885. } while(0);
  3886. do { // convert the 'FlangeEdgeRadius' argument
  3887. boost::shared_ptr<const DataType> arg = params[base++];
  3888. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3889. try { GenericConvert( in->FlangeEdgeRadius, arg, db ); break; }
  3890. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcIShapeProfileDef to be a `IfcNonNegativeLengthMeasure`")); }
  3891. } while(0);
  3892. do { // convert the 'FlangeSlope' argument
  3893. boost::shared_ptr<const DataType> arg = params[base++];
  3894. if (dynamic_cast<const UNSET*>(&*arg)) break;
  3895. try { GenericConvert( in->FlangeSlope, arg, db ); break; }
  3896. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcIShapeProfileDef to be a `IfcPlaneAngleMeasure`")); }
  3897. } while(0);
  3898. return base;
  3899. }
  3900. // -----------------------------------------------------------------------------------------------------------
  3901. template <> size_t GenericFill<IfcIndexedPolyCurve>(const DB& db, const LIST& params, IfcIndexedPolyCurve* in)
  3902. {
  3903. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  3904. // this data structure is not used yet, so there is no code generated to fill its members
  3905. return base;
  3906. }
  3907. // -----------------------------------------------------------------------------------------------------------
  3908. template <> size_t GenericFill<IfcTessellatedItem>(const DB& db, const LIST& params, IfcTessellatedItem* in)
  3909. {
  3910. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  3911. // this data structure is not used yet, so there is no code generated to fill its members
  3912. return base;
  3913. }
  3914. // -----------------------------------------------------------------------------------------------------------
  3915. template <> size_t GenericFill<IfcIndexedPolygonalFace>(const DB& db, const LIST& params, IfcIndexedPolygonalFace* in)
  3916. {
  3917. size_t base = GenericFill(db,params,static_cast<IfcTessellatedItem*>(in));
  3918. // this data structure is not used yet, so there is no code generated to fill its members
  3919. return base;
  3920. }
  3921. // -----------------------------------------------------------------------------------------------------------
  3922. template <> size_t GenericFill<IfcIndexedPolygonalFaceWithVoids>(const DB& db, const LIST& params, IfcIndexedPolygonalFaceWithVoids* in)
  3923. {
  3924. size_t base = GenericFill(db,params,static_cast<IfcIndexedPolygonalFace*>(in));
  3925. // this data structure is not used yet, so there is no code generated to fill its members
  3926. return base;
  3927. }
  3928. // -----------------------------------------------------------------------------------------------------------
  3929. template <> size_t GenericFill<IfcInterceptor>(const DB& db, const LIST& params, IfcInterceptor* in)
  3930. {
  3931. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDevice*>(in));
  3932. // this data structure is not used yet, so there is no code generated to fill its members
  3933. return base;
  3934. }
  3935. // -----------------------------------------------------------------------------------------------------------
  3936. template <> size_t GenericFill<IfcInterceptorType>(const DB& db, const LIST& params, IfcInterceptorType* in)
  3937. {
  3938. size_t base = GenericFill(db,params,static_cast<IfcFlowTreatmentDeviceType*>(in));
  3939. // this data structure is not used yet, so there is no code generated to fill its members
  3940. return base;
  3941. }
  3942. // -----------------------------------------------------------------------------------------------------------
  3943. template <> size_t GenericFill<IfcSurfaceCurve>(const DB& db, const LIST& params, IfcSurfaceCurve* in)
  3944. {
  3945. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  3946. // this data structure is not used yet, so there is no code generated to fill its members
  3947. return base;
  3948. }
  3949. // -----------------------------------------------------------------------------------------------------------
  3950. template <> size_t GenericFill<IfcIntersectionCurve>(const DB& db, const LIST& params, IfcIntersectionCurve* in)
  3951. {
  3952. size_t base = GenericFill(db,params,static_cast<IfcSurfaceCurve*>(in));
  3953. // this data structure is not used yet, so there is no code generated to fill its members
  3954. return base;
  3955. }
  3956. // -----------------------------------------------------------------------------------------------------------
  3957. template <> size_t GenericFill<IfcInventory>(const DB& db, const LIST& params, IfcInventory* in)
  3958. {
  3959. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  3960. // this data structure is not used yet, so there is no code generated to fill its members
  3961. return base;
  3962. }
  3963. // -----------------------------------------------------------------------------------------------------------
  3964. template <> size_t GenericFill<IfcJunctionBox>(const DB& db, const LIST& params, IfcJunctionBox* in)
  3965. {
  3966. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  3967. // this data structure is not used yet, so there is no code generated to fill its members
  3968. return base;
  3969. }
  3970. // -----------------------------------------------------------------------------------------------------------
  3971. template <> size_t GenericFill<IfcJunctionBoxType>(const DB& db, const LIST& params, IfcJunctionBoxType* in)
  3972. {
  3973. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  3974. // this data structure is not used yet, so there is no code generated to fill its members
  3975. return base;
  3976. }
  3977. // -----------------------------------------------------------------------------------------------------------
  3978. template <> size_t GenericFill<IfcLShapeProfileDef>(const DB& db, const LIST& params, IfcLShapeProfileDef* in)
  3979. {
  3980. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  3981. // this data structure is not used yet, so there is no code generated to fill its members
  3982. return base;
  3983. }
  3984. // -----------------------------------------------------------------------------------------------------------
  3985. template <> size_t GenericFill<IfcLaborResource>(const DB& db, const LIST& params, IfcLaborResource* in)
  3986. {
  3987. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  3988. // this data structure is not used yet, so there is no code generated to fill its members
  3989. return base;
  3990. }
  3991. // -----------------------------------------------------------------------------------------------------------
  3992. template <> size_t GenericFill<IfcLaborResourceType>(const DB& db, const LIST& params, IfcLaborResourceType* in)
  3993. {
  3994. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  3995. // this data structure is not used yet, so there is no code generated to fill its members
  3996. return base;
  3997. }
  3998. // -----------------------------------------------------------------------------------------------------------
  3999. template <> size_t GenericFill<IfcLamp>(const DB& db, const LIST& params, IfcLamp* in)
  4000. {
  4001. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4002. // this data structure is not used yet, so there is no code generated to fill its members
  4003. return base;
  4004. }
  4005. // -----------------------------------------------------------------------------------------------------------
  4006. template <> size_t GenericFill<IfcLampType>(const DB& db, const LIST& params, IfcLampType* in)
  4007. {
  4008. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4009. // this data structure is not used yet, so there is no code generated to fill its members
  4010. return base;
  4011. }
  4012. // -----------------------------------------------------------------------------------------------------------
  4013. template <> size_t GenericFill<IfcLightFixture>(const DB& db, const LIST& params, IfcLightFixture* in)
  4014. {
  4015. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4016. // this data structure is not used yet, so there is no code generated to fill its members
  4017. return base;
  4018. }
  4019. // -----------------------------------------------------------------------------------------------------------
  4020. template <> size_t GenericFill<IfcLightFixtureType>(const DB& db, const LIST& params, IfcLightFixtureType* in)
  4021. {
  4022. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4023. // this data structure is not used yet, so there is no code generated to fill its members
  4024. return base;
  4025. }
  4026. // -----------------------------------------------------------------------------------------------------------
  4027. template <> size_t GenericFill<IfcLightSource>(const DB& db, const LIST& params, IfcLightSource* in)
  4028. {
  4029. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4030. // this data structure is not used yet, so there is no code generated to fill its members
  4031. return base;
  4032. }
  4033. // -----------------------------------------------------------------------------------------------------------
  4034. template <> size_t GenericFill<IfcLightSourceAmbient>(const DB& db, const LIST& params, IfcLightSourceAmbient* in)
  4035. {
  4036. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4037. // this data structure is not used yet, so there is no code generated to fill its members
  4038. return base;
  4039. }
  4040. // -----------------------------------------------------------------------------------------------------------
  4041. template <> size_t GenericFill<IfcLightSourceDirectional>(const DB& db, const LIST& params, IfcLightSourceDirectional* in)
  4042. {
  4043. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4044. // this data structure is not used yet, so there is no code generated to fill its members
  4045. return base;
  4046. }
  4047. // -----------------------------------------------------------------------------------------------------------
  4048. template <> size_t GenericFill<IfcLightSourceGoniometric>(const DB& db, const LIST& params, IfcLightSourceGoniometric* in)
  4049. {
  4050. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4051. // this data structure is not used yet, so there is no code generated to fill its members
  4052. return base;
  4053. }
  4054. // -----------------------------------------------------------------------------------------------------------
  4055. template <> size_t GenericFill<IfcLightSourcePositional>(const DB& db, const LIST& params, IfcLightSourcePositional* in)
  4056. {
  4057. size_t base = GenericFill(db,params,static_cast<IfcLightSource*>(in));
  4058. // this data structure is not used yet, so there is no code generated to fill its members
  4059. return base;
  4060. }
  4061. // -----------------------------------------------------------------------------------------------------------
  4062. template <> size_t GenericFill<IfcLightSourceSpot>(const DB& db, const LIST& params, IfcLightSourceSpot* in)
  4063. {
  4064. size_t base = GenericFill(db,params,static_cast<IfcLightSourcePositional*>(in));
  4065. // this data structure is not used yet, so there is no code generated to fill its members
  4066. return base;
  4067. }
  4068. // -----------------------------------------------------------------------------------------------------------
  4069. template <> size_t GenericFill<IfcLine>(const DB& db, const LIST& params, IfcLine* in)
  4070. {
  4071. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4072. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLine"); } do { // convert the 'Pnt' argument
  4073. boost::shared_ptr<const DataType> arg = params[base++];
  4074. try { GenericConvert( in->Pnt, arg, db ); break; }
  4075. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLine to be a `IfcCartesianPoint`")); }
  4076. } while(0);
  4077. do { // convert the 'Dir' argument
  4078. boost::shared_ptr<const DataType> arg = params[base++];
  4079. try { GenericConvert( in->Dir, arg, db ); break; }
  4080. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLine to be a `IfcVector`")); }
  4081. } while(0);
  4082. return base;
  4083. }
  4084. // -----------------------------------------------------------------------------------------------------------
  4085. template <> size_t GenericFill<IfcLocalPlacement>(const DB& db, const LIST& params, IfcLocalPlacement* in)
  4086. {
  4087. size_t base = GenericFill(db,params,static_cast<IfcObjectPlacement*>(in));
  4088. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcLocalPlacement"); } do { // convert the 'PlacementRelTo' argument
  4089. boost::shared_ptr<const DataType> arg = params[base++];
  4090. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4091. try { GenericConvert( in->PlacementRelTo, arg, db ); break; }
  4092. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcLocalPlacement to be a `IfcObjectPlacement`")); }
  4093. } while(0);
  4094. do { // convert the 'RelativePlacement' argument
  4095. boost::shared_ptr<const DataType> arg = params[base++];
  4096. try { GenericConvert( in->RelativePlacement, arg, db ); break; }
  4097. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcLocalPlacement to be a `IfcAxis2Placement`")); }
  4098. } while(0);
  4099. return base;
  4100. }
  4101. // -----------------------------------------------------------------------------------------------------------
  4102. template <> size_t GenericFill<IfcMappedItem>(const DB& db, const LIST& params, IfcMappedItem* in)
  4103. {
  4104. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  4105. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMappedItem"); } do { // convert the 'MappingSource' argument
  4106. boost::shared_ptr<const DataType> arg = params[base++];
  4107. try { GenericConvert( in->MappingSource, arg, db ); break; }
  4108. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMappedItem to be a `IfcRepresentationMap`")); }
  4109. } while(0);
  4110. do { // convert the 'MappingTarget' argument
  4111. boost::shared_ptr<const DataType> arg = params[base++];
  4112. try { GenericConvert( in->MappingTarget, arg, db ); break; }
  4113. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMappedItem to be a `IfcCartesianTransformationOperator`")); }
  4114. } while(0);
  4115. return base;
  4116. }
  4117. // -----------------------------------------------------------------------------------------------------------
  4118. template <> size_t GenericFill<IfcProductRepresentation>(const DB& db, const LIST& params, IfcProductRepresentation* in)
  4119. {
  4120. size_t base = 0;
  4121. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcProductRepresentation"); } do { // convert the 'Name' argument
  4122. boost::shared_ptr<const DataType> arg = params[base++];
  4123. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[0]=true; break; }
  4124. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4125. try { GenericConvert( in->Name, arg, db ); break; }
  4126. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcProductRepresentation to be a `IfcLabel`")); }
  4127. } while(0);
  4128. do { // convert the 'Description' argument
  4129. boost::shared_ptr<const DataType> arg = params[base++];
  4130. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[1]=true; break; }
  4131. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4132. try { GenericConvert( in->Description, arg, db ); break; }
  4133. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcProductRepresentation to be a `IfcText`")); }
  4134. } while(0);
  4135. do { // convert the 'Representations' argument
  4136. boost::shared_ptr<const DataType> arg = params[base++];
  4137. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcProductRepresentation,3>::aux_is_derived[2]=true; break; }
  4138. try { GenericConvert( in->Representations, arg, db ); break; }
  4139. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcProductRepresentation to be a `LIST [1:?] OF IfcRepresentation`")); }
  4140. } while(0);
  4141. return base;
  4142. }
  4143. // -----------------------------------------------------------------------------------------------------------
  4144. template <> size_t GenericFill<IfcMaterialDefinitionRepresentation>(const DB& db, const LIST& params, IfcMaterialDefinitionRepresentation* in)
  4145. {
  4146. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4147. // this data structure is not used yet, so there is no code generated to fill its members
  4148. return base;
  4149. }
  4150. // -----------------------------------------------------------------------------------------------------------
  4151. template <> size_t GenericFill<IfcMeasureWithUnit>(const DB& db, const LIST& params, IfcMeasureWithUnit* in)
  4152. {
  4153. size_t base = 0;
  4154. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcMeasureWithUnit"); } do { // convert the 'ValueComponent' argument
  4155. boost::shared_ptr<const DataType> arg = params[base++];
  4156. try { GenericConvert( in->ValueComponent, arg, db ); break; }
  4157. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcMeasureWithUnit to be a `IfcValue`")); }
  4158. } while(0);
  4159. do { // convert the 'UnitComponent' argument
  4160. boost::shared_ptr<const DataType> arg = params[base++];
  4161. try { GenericConvert( in->UnitComponent, arg, db ); break; }
  4162. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcMeasureWithUnit to be a `IfcUnit`")); }
  4163. } while(0);
  4164. return base;
  4165. }
  4166. // -----------------------------------------------------------------------------------------------------------
  4167. template <> size_t GenericFill<IfcMechanicalFastener>(const DB& db, const LIST& params, IfcMechanicalFastener* in)
  4168. {
  4169. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  4170. // this data structure is not used yet, so there is no code generated to fill its members
  4171. return base;
  4172. }
  4173. // -----------------------------------------------------------------------------------------------------------
  4174. template <> size_t GenericFill<IfcMechanicalFastenerType>(const DB& db, const LIST& params, IfcMechanicalFastenerType* in)
  4175. {
  4176. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  4177. // this data structure is not used yet, so there is no code generated to fill its members
  4178. return base;
  4179. }
  4180. // -----------------------------------------------------------------------------------------------------------
  4181. template <> size_t GenericFill<IfcMedicalDevice>(const DB& db, const LIST& params, IfcMedicalDevice* in)
  4182. {
  4183. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4184. // this data structure is not used yet, so there is no code generated to fill its members
  4185. return base;
  4186. }
  4187. // -----------------------------------------------------------------------------------------------------------
  4188. template <> size_t GenericFill<IfcMedicalDeviceType>(const DB& db, const LIST& params, IfcMedicalDeviceType* in)
  4189. {
  4190. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4191. // this data structure is not used yet, so there is no code generated to fill its members
  4192. return base;
  4193. }
  4194. // -----------------------------------------------------------------------------------------------------------
  4195. template <> size_t GenericFill<IfcMember>(const DB& db, const LIST& params, IfcMember* in)
  4196. {
  4197. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4198. // this data structure is not used yet, so there is no code generated to fill its members
  4199. return base;
  4200. }
  4201. // -----------------------------------------------------------------------------------------------------------
  4202. template <> size_t GenericFill<IfcMemberStandardCase>(const DB& db, const LIST& params, IfcMemberStandardCase* in)
  4203. {
  4204. size_t base = GenericFill(db,params,static_cast<IfcMember*>(in));
  4205. // this data structure is not used yet, so there is no code generated to fill its members
  4206. return base;
  4207. }
  4208. // -----------------------------------------------------------------------------------------------------------
  4209. template <> size_t GenericFill<IfcMemberType>(const DB& db, const LIST& params, IfcMemberType* in)
  4210. {
  4211. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4212. // this data structure is not used yet, so there is no code generated to fill its members
  4213. return base;
  4214. }
  4215. // -----------------------------------------------------------------------------------------------------------
  4216. template <> size_t GenericFill<IfcMirroredProfileDef>(const DB& db, const LIST& params, IfcMirroredProfileDef* in)
  4217. {
  4218. size_t base = GenericFill(db,params,static_cast<IfcDerivedProfileDef*>(in));
  4219. // this data structure is not used yet, so there is no code generated to fill its members
  4220. return base;
  4221. }
  4222. // -----------------------------------------------------------------------------------------------------------
  4223. template <> size_t GenericFill<IfcMotorConnection>(const DB& db, const LIST& params, IfcMotorConnection* in)
  4224. {
  4225. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  4226. // this data structure is not used yet, so there is no code generated to fill its members
  4227. return base;
  4228. }
  4229. // -----------------------------------------------------------------------------------------------------------
  4230. template <> size_t GenericFill<IfcMotorConnectionType>(const DB& db, const LIST& params, IfcMotorConnectionType* in)
  4231. {
  4232. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  4233. // this data structure is not used yet, so there is no code generated to fill its members
  4234. return base;
  4235. }
  4236. // -----------------------------------------------------------------------------------------------------------
  4237. template <> size_t GenericFill<IfcOccupant>(const DB& db, const LIST& params, IfcOccupant* in)
  4238. {
  4239. size_t base = GenericFill(db,params,static_cast<IfcActor*>(in));
  4240. // this data structure is not used yet, so there is no code generated to fill its members
  4241. return base;
  4242. }
  4243. // -----------------------------------------------------------------------------------------------------------
  4244. template <> size_t GenericFill<IfcOffsetCurve2D>(const DB& db, const LIST& params, IfcOffsetCurve2D* in)
  4245. {
  4246. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4247. // this data structure is not used yet, so there is no code generated to fill its members
  4248. return base;
  4249. }
  4250. // -----------------------------------------------------------------------------------------------------------
  4251. template <> size_t GenericFill<IfcOffsetCurve3D>(const DB& db, const LIST& params, IfcOffsetCurve3D* in)
  4252. {
  4253. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4254. // this data structure is not used yet, so there is no code generated to fill its members
  4255. return base;
  4256. }
  4257. // -----------------------------------------------------------------------------------------------------------
  4258. template <> size_t GenericFill<IfcOpenShell>(const DB& db, const LIST& params, IfcOpenShell* in)
  4259. {
  4260. size_t base = GenericFill(db,params,static_cast<IfcConnectedFaceSet*>(in));
  4261. // this data structure is not used yet, so there is no code generated to fill its members
  4262. return base;
  4263. }
  4264. // -----------------------------------------------------------------------------------------------------------
  4265. template <> size_t GenericFill<IfcOpeningElement>(const DB& db, const LIST& params, IfcOpeningElement* in)
  4266. {
  4267. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  4268. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcOpeningElement"); } do { // convert the 'PredefinedType' argument
  4269. boost::shared_ptr<const DataType> arg = params[base++];
  4270. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcOpeningElement,1>::aux_is_derived[0]=true; break; }
  4271. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4272. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  4273. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcOpeningElement to be a `IfcOpeningElementTypeEnum`")); }
  4274. } while(0);
  4275. return base;
  4276. }
  4277. // -----------------------------------------------------------------------------------------------------------
  4278. template <> size_t GenericFill<IfcOpeningStandardCase>(const DB& db, const LIST& params, IfcOpeningStandardCase* in)
  4279. {
  4280. size_t base = GenericFill(db,params,static_cast<IfcOpeningElement*>(in));
  4281. // this data structure is not used yet, so there is no code generated to fill its members
  4282. return base;
  4283. }
  4284. // -----------------------------------------------------------------------------------------------------------
  4285. template <> size_t GenericFill<IfcOrientedEdge>(const DB& db, const LIST& params, IfcOrientedEdge* in)
  4286. {
  4287. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  4288. // this data structure is not used yet, so there is no code generated to fill its members
  4289. return base;
  4290. }
  4291. // -----------------------------------------------------------------------------------------------------------
  4292. template <> size_t GenericFill<IfcOuterBoundaryCurve>(const DB& db, const LIST& params, IfcOuterBoundaryCurve* in)
  4293. {
  4294. size_t base = GenericFill(db,params,static_cast<IfcBoundaryCurve*>(in));
  4295. // this data structure is not used yet, so there is no code generated to fill its members
  4296. return base;
  4297. }
  4298. // -----------------------------------------------------------------------------------------------------------
  4299. template <> size_t GenericFill<IfcOutlet>(const DB& db, const LIST& params, IfcOutlet* in)
  4300. {
  4301. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  4302. // this data structure is not used yet, so there is no code generated to fill its members
  4303. return base;
  4304. }
  4305. // -----------------------------------------------------------------------------------------------------------
  4306. template <> size_t GenericFill<IfcOutletType>(const DB& db, const LIST& params, IfcOutletType* in)
  4307. {
  4308. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  4309. // this data structure is not used yet, so there is no code generated to fill its members
  4310. return base;
  4311. }
  4312. // -----------------------------------------------------------------------------------------------------------
  4313. template <> size_t GenericFill<IfcPath>(const DB& db, const LIST& params, IfcPath* in)
  4314. {
  4315. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  4316. // this data structure is not used yet, so there is no code generated to fill its members
  4317. return base;
  4318. }
  4319. // -----------------------------------------------------------------------------------------------------------
  4320. template <> size_t GenericFill<IfcPcurve>(const DB& db, const LIST& params, IfcPcurve* in)
  4321. {
  4322. size_t base = GenericFill(db,params,static_cast<IfcCurve*>(in));
  4323. // this data structure is not used yet, so there is no code generated to fill its members
  4324. return base;
  4325. }
  4326. // -----------------------------------------------------------------------------------------------------------
  4327. template <> size_t GenericFill<IfcPerformanceHistory>(const DB& db, const LIST& params, IfcPerformanceHistory* in)
  4328. {
  4329. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4330. // this data structure is not used yet, so there is no code generated to fill its members
  4331. return base;
  4332. }
  4333. // -----------------------------------------------------------------------------------------------------------
  4334. template <> size_t GenericFill<IfcPermit>(const DB& db, const LIST& params, IfcPermit* in)
  4335. {
  4336. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  4337. // this data structure is not used yet, so there is no code generated to fill its members
  4338. return base;
  4339. }
  4340. // -----------------------------------------------------------------------------------------------------------
  4341. template <> size_t GenericFill<IfcPile>(const DB& db, const LIST& params, IfcPile* in)
  4342. {
  4343. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4344. // this data structure is not used yet, so there is no code generated to fill its members
  4345. return base;
  4346. }
  4347. // -----------------------------------------------------------------------------------------------------------
  4348. template <> size_t GenericFill<IfcPileType>(const DB& db, const LIST& params, IfcPileType* in)
  4349. {
  4350. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4351. // this data structure is not used yet, so there is no code generated to fill its members
  4352. return base;
  4353. }
  4354. // -----------------------------------------------------------------------------------------------------------
  4355. template <> size_t GenericFill<IfcPipeFitting>(const DB& db, const LIST& params, IfcPipeFitting* in)
  4356. {
  4357. size_t base = GenericFill(db,params,static_cast<IfcFlowFitting*>(in));
  4358. // this data structure is not used yet, so there is no code generated to fill its members
  4359. return base;
  4360. }
  4361. // -----------------------------------------------------------------------------------------------------------
  4362. template <> size_t GenericFill<IfcPipeFittingType>(const DB& db, const LIST& params, IfcPipeFittingType* in)
  4363. {
  4364. size_t base = GenericFill(db,params,static_cast<IfcFlowFittingType*>(in));
  4365. // this data structure is not used yet, so there is no code generated to fill its members
  4366. return base;
  4367. }
  4368. // -----------------------------------------------------------------------------------------------------------
  4369. template <> size_t GenericFill<IfcPipeSegment>(const DB& db, const LIST& params, IfcPipeSegment* in)
  4370. {
  4371. size_t base = GenericFill(db,params,static_cast<IfcFlowSegment*>(in));
  4372. // this data structure is not used yet, so there is no code generated to fill its members
  4373. return base;
  4374. }
  4375. // -----------------------------------------------------------------------------------------------------------
  4376. template <> size_t GenericFill<IfcPipeSegmentType>(const DB& db, const LIST& params, IfcPipeSegmentType* in)
  4377. {
  4378. size_t base = GenericFill(db,params,static_cast<IfcFlowSegmentType*>(in));
  4379. // this data structure is not used yet, so there is no code generated to fill its members
  4380. return base;
  4381. }
  4382. // -----------------------------------------------------------------------------------------------------------
  4383. template <> size_t GenericFill<IfcPlanarExtent>(const DB& db, const LIST& params, IfcPlanarExtent* in)
  4384. {
  4385. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  4386. // this data structure is not used yet, so there is no code generated to fill its members
  4387. return base;
  4388. }
  4389. // -----------------------------------------------------------------------------------------------------------
  4390. template <> size_t GenericFill<IfcPlanarBox>(const DB& db, const LIST& params, IfcPlanarBox* in)
  4391. {
  4392. size_t base = GenericFill(db,params,static_cast<IfcPlanarExtent*>(in));
  4393. // this data structure is not used yet, so there is no code generated to fill its members
  4394. return base;
  4395. }
  4396. // -----------------------------------------------------------------------------------------------------------
  4397. template <> size_t GenericFill<IfcPlane>(const DB& db, const LIST& params, IfcPlane* in)
  4398. {
  4399. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  4400. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPlane"); } return base;
  4401. }
  4402. // -----------------------------------------------------------------------------------------------------------
  4403. template <> size_t GenericFill<IfcPlate>(const DB& db, const LIST& params, IfcPlate* in)
  4404. {
  4405. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4406. // this data structure is not used yet, so there is no code generated to fill its members
  4407. return base;
  4408. }
  4409. // -----------------------------------------------------------------------------------------------------------
  4410. template <> size_t GenericFill<IfcPlateStandardCase>(const DB& db, const LIST& params, IfcPlateStandardCase* in)
  4411. {
  4412. size_t base = GenericFill(db,params,static_cast<IfcPlate*>(in));
  4413. // this data structure is not used yet, so there is no code generated to fill its members
  4414. return base;
  4415. }
  4416. // -----------------------------------------------------------------------------------------------------------
  4417. template <> size_t GenericFill<IfcPlateType>(const DB& db, const LIST& params, IfcPlateType* in)
  4418. {
  4419. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4420. // this data structure is not used yet, so there is no code generated to fill its members
  4421. return base;
  4422. }
  4423. // -----------------------------------------------------------------------------------------------------------
  4424. template <> size_t GenericFill<IfcPointOnCurve>(const DB& db, const LIST& params, IfcPointOnCurve* in)
  4425. {
  4426. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4427. // this data structure is not used yet, so there is no code generated to fill its members
  4428. return base;
  4429. }
  4430. // -----------------------------------------------------------------------------------------------------------
  4431. template <> size_t GenericFill<IfcPointOnSurface>(const DB& db, const LIST& params, IfcPointOnSurface* in)
  4432. {
  4433. size_t base = GenericFill(db,params,static_cast<IfcPoint*>(in));
  4434. // this data structure is not used yet, so there is no code generated to fill its members
  4435. return base;
  4436. }
  4437. // -----------------------------------------------------------------------------------------------------------
  4438. template <> size_t GenericFill<IfcPolyLoop>(const DB& db, const LIST& params, IfcPolyLoop* in)
  4439. {
  4440. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  4441. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyLoop"); } do { // convert the 'Polygon' argument
  4442. boost::shared_ptr<const DataType> arg = params[base++];
  4443. try { GenericConvert( in->Polygon, arg, db ); break; }
  4444. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyLoop to be a `LIST [3:?] OF IfcCartesianPoint`")); }
  4445. } while(0);
  4446. return base;
  4447. }
  4448. // -----------------------------------------------------------------------------------------------------------
  4449. template <> size_t GenericFill<IfcPolygonalBoundedHalfSpace>(const DB& db, const LIST& params, IfcPolygonalBoundedHalfSpace* in)
  4450. {
  4451. size_t base = GenericFill(db,params,static_cast<IfcHalfSpaceSolid*>(in));
  4452. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPolygonalBoundedHalfSpace"); } do { // convert the 'Position' argument
  4453. boost::shared_ptr<const DataType> arg = params[base++];
  4454. try { GenericConvert( in->Position, arg, db ); break; }
  4455. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPolygonalBoundedHalfSpace to be a `IfcAxis2Placement3D`")); }
  4456. } while(0);
  4457. do { // convert the 'PolygonalBoundary' argument
  4458. boost::shared_ptr<const DataType> arg = params[base++];
  4459. try { GenericConvert( in->PolygonalBoundary, arg, db ); break; }
  4460. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPolygonalBoundedHalfSpace to be a `IfcBoundedCurve`")); }
  4461. } while(0);
  4462. return base;
  4463. }
  4464. // -----------------------------------------------------------------------------------------------------------
  4465. template <> size_t GenericFill<IfcTessellatedFaceSet>(const DB& db, const LIST& params, IfcTessellatedFaceSet* in)
  4466. {
  4467. size_t base = GenericFill(db,params,static_cast<IfcTessellatedItem*>(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<IfcPolygonalFaceSet>(const DB& db, const LIST& params, IfcPolygonalFaceSet* in)
  4473. {
  4474. size_t base = GenericFill(db,params,static_cast<IfcTessellatedFaceSet*>(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<IfcPolyline>(const DB& db, const LIST& params, IfcPolyline* in)
  4480. {
  4481. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  4482. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPolyline"); } do { // convert the 'Points' argument
  4483. boost::shared_ptr<const DataType> arg = params[base++];
  4484. try { GenericConvert( in->Points, arg, db ); break; }
  4485. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPolyline to be a `LIST [2:?] OF IfcCartesianPoint`")); }
  4486. } while(0);
  4487. return base;
  4488. }
  4489. // -----------------------------------------------------------------------------------------------------------
  4490. template <> size_t GenericFill<IfcPresentationStyleAssignment>(const DB& db, const LIST& params, IfcPresentationStyleAssignment* in)
  4491. {
  4492. size_t base = 0;
  4493. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcPresentationStyleAssignment"); } do { // convert the 'Styles' argument
  4494. boost::shared_ptr<const DataType> arg = params[base++];
  4495. try { GenericConvert( in->Styles, arg, db ); break; }
  4496. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcPresentationStyleAssignment to be a `SET [1:?] OF IfcPresentationStyleSelect`")); }
  4497. } while(0);
  4498. return base;
  4499. }
  4500. // -----------------------------------------------------------------------------------------------------------
  4501. template <> size_t GenericFill<IfcProcedure>(const DB& db, const LIST& params, IfcProcedure* in)
  4502. {
  4503. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  4504. // this data structure is not used yet, so there is no code generated to fill its members
  4505. return base;
  4506. }
  4507. // -----------------------------------------------------------------------------------------------------------
  4508. template <> size_t GenericFill<IfcProcedureType>(const DB& db, const LIST& params, IfcProcedureType* in)
  4509. {
  4510. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  4511. // this data structure is not used yet, so there is no code generated to fill its members
  4512. return base;
  4513. }
  4514. // -----------------------------------------------------------------------------------------------------------
  4515. template <> size_t GenericFill<IfcProductDefinitionShape>(const DB& db, const LIST& params, IfcProductDefinitionShape* in)
  4516. {
  4517. size_t base = GenericFill(db,params,static_cast<IfcProductRepresentation*>(in));
  4518. // this data structure is not used yet, so there is no code generated to fill its members
  4519. return base;
  4520. }
  4521. // -----------------------------------------------------------------------------------------------------------
  4522. template <> size_t GenericFill<IfcProject>(const DB& db, const LIST& params, IfcProject* in)
  4523. {
  4524. size_t base = GenericFill(db,params,static_cast<IfcContext*>(in));
  4525. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcProject"); } return base;
  4526. }
  4527. // -----------------------------------------------------------------------------------------------------------
  4528. template <> size_t GenericFill<IfcProjectLibrary>(const DB& db, const LIST& params, IfcProjectLibrary* in)
  4529. {
  4530. size_t base = GenericFill(db,params,static_cast<IfcContext*>(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<IfcProjectOrder>(const DB& db, const LIST& params, IfcProjectOrder* in)
  4536. {
  4537. size_t base = GenericFill(db,params,static_cast<IfcControl*>(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<IfcProjectionElement>(const DB& db, const LIST& params, IfcProjectionElement* in)
  4543. {
  4544. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementAddition*>(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<IfcSimpleProperty>(const DB& db, const LIST& params, IfcSimpleProperty* in)
  4550. {
  4551. size_t base = GenericFill(db,params,static_cast<IfcProperty*>(in));
  4552. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSimpleProperty"); } return base;
  4553. }
  4554. // -----------------------------------------------------------------------------------------------------------
  4555. template <> size_t GenericFill<IfcPropertyBoundedValue>(const DB& db, const LIST& params, IfcPropertyBoundedValue* in)
  4556. {
  4557. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4558. // this data structure is not used yet, so there is no code generated to fill its members
  4559. return base;
  4560. }
  4561. // -----------------------------------------------------------------------------------------------------------
  4562. template <> size_t GenericFill<IfcPropertyEnumeratedValue>(const DB& db, const LIST& params, IfcPropertyEnumeratedValue* in)
  4563. {
  4564. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4565. // this data structure is not used yet, so there is no code generated to fill its members
  4566. return base;
  4567. }
  4568. // -----------------------------------------------------------------------------------------------------------
  4569. template <> size_t GenericFill<IfcPropertyListValue>(const DB& db, const LIST& params, IfcPropertyListValue* in)
  4570. {
  4571. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4572. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertyListValue"); } do { // convert the 'ListValues' argument
  4573. boost::shared_ptr<const DataType> arg = params[base++];
  4574. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4575. try { GenericConvert( in->ListValues, arg, db ); break; }
  4576. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertyListValue to be a `LIST [1:?] OF IfcValue`")); }
  4577. } while(0);
  4578. do { // convert the 'Unit' argument
  4579. boost::shared_ptr<const DataType> arg = params[base++];
  4580. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4581. try { GenericConvert( in->Unit, arg, db ); break; }
  4582. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertyListValue to be a `IfcUnit`")); }
  4583. } while(0);
  4584. return base;
  4585. }
  4586. // -----------------------------------------------------------------------------------------------------------
  4587. template <> size_t GenericFill<IfcPropertyReferenceValue>(const DB& db, const LIST& params, IfcPropertyReferenceValue* in)
  4588. {
  4589. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4590. // this data structure is not used yet, so there is no code generated to fill its members
  4591. return base;
  4592. }
  4593. // -----------------------------------------------------------------------------------------------------------
  4594. template <> size_t GenericFill<IfcPropertySet>(const DB& db, const LIST& params, IfcPropertySet* in)
  4595. {
  4596. size_t base = GenericFill(db,params,static_cast<IfcPropertySetDefinition*>(in));
  4597. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcPropertySet"); } do { // convert the 'HasProperties' argument
  4598. boost::shared_ptr<const DataType> arg = params[base++];
  4599. try { GenericConvert( in->HasProperties, arg, db ); break; }
  4600. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcPropertySet to be a `SET [1:?] OF IfcProperty`")); }
  4601. } while(0);
  4602. return base;
  4603. }
  4604. // -----------------------------------------------------------------------------------------------------------
  4605. template <> size_t GenericFill<IfcPropertySingleValue>(const DB& db, const LIST& params, IfcPropertySingleValue* in)
  4606. {
  4607. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4608. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcPropertySingleValue"); } do { // convert the 'NominalValue' argument
  4609. boost::shared_ptr<const DataType> arg = params[base++];
  4610. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4611. try { GenericConvert( in->NominalValue, arg, db ); break; }
  4612. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcPropertySingleValue to be a `IfcValue`")); }
  4613. } while(0);
  4614. do { // convert the 'Unit' argument
  4615. boost::shared_ptr<const DataType> arg = params[base++];
  4616. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4617. try { GenericConvert( in->Unit, arg, db ); break; }
  4618. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcPropertySingleValue to be a `IfcUnit`")); }
  4619. } while(0);
  4620. return base;
  4621. }
  4622. // -----------------------------------------------------------------------------------------------------------
  4623. template <> size_t GenericFill<IfcPropertyTableValue>(const DB& db, const LIST& params, IfcPropertyTableValue* in)
  4624. {
  4625. size_t base = GenericFill(db,params,static_cast<IfcSimpleProperty*>(in));
  4626. // this data structure is not used yet, so there is no code generated to fill its members
  4627. return base;
  4628. }
  4629. // -----------------------------------------------------------------------------------------------------------
  4630. template <> size_t GenericFill<IfcProtectiveDevice>(const DB& db, const LIST& params, IfcProtectiveDevice* in)
  4631. {
  4632. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  4633. // this data structure is not used yet, so there is no code generated to fill its members
  4634. return base;
  4635. }
  4636. // -----------------------------------------------------------------------------------------------------------
  4637. template <> size_t GenericFill<IfcProtectiveDeviceTrippingUnit>(const DB& db, const LIST& params, IfcProtectiveDeviceTrippingUnit* in)
  4638. {
  4639. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  4640. // this data structure is not used yet, so there is no code generated to fill its members
  4641. return base;
  4642. }
  4643. // -----------------------------------------------------------------------------------------------------------
  4644. template <> size_t GenericFill<IfcProtectiveDeviceTrippingUnitType>(const DB& db, const LIST& params, IfcProtectiveDeviceTrippingUnitType* in)
  4645. {
  4646. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  4647. // this data structure is not used yet, so there is no code generated to fill its members
  4648. return base;
  4649. }
  4650. // -----------------------------------------------------------------------------------------------------------
  4651. template <> size_t GenericFill<IfcProtectiveDeviceType>(const DB& db, const LIST& params, IfcProtectiveDeviceType* in)
  4652. {
  4653. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  4654. // this data structure is not used yet, so there is no code generated to fill its members
  4655. return base;
  4656. }
  4657. // -----------------------------------------------------------------------------------------------------------
  4658. template <> size_t GenericFill<IfcProxy>(const DB& db, const LIST& params, IfcProxy* in)
  4659. {
  4660. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  4661. // this data structure is not used yet, so there is no code generated to fill its members
  4662. return base;
  4663. }
  4664. // -----------------------------------------------------------------------------------------------------------
  4665. template <> size_t GenericFill<IfcPump>(const DB& db, const LIST& params, IfcPump* in)
  4666. {
  4667. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDevice*>(in));
  4668. // this data structure is not used yet, so there is no code generated to fill its members
  4669. return base;
  4670. }
  4671. // -----------------------------------------------------------------------------------------------------------
  4672. template <> size_t GenericFill<IfcPumpType>(const DB& db, const LIST& params, IfcPumpType* in)
  4673. {
  4674. size_t base = GenericFill(db,params,static_cast<IfcFlowMovingDeviceType*>(in));
  4675. // this data structure is not used yet, so there is no code generated to fill its members
  4676. return base;
  4677. }
  4678. // -----------------------------------------------------------------------------------------------------------
  4679. template <> size_t GenericFill<IfcRailing>(const DB& db, const LIST& params, IfcRailing* in)
  4680. {
  4681. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4682. // this data structure is not used yet, so there is no code generated to fill its members
  4683. return base;
  4684. }
  4685. // -----------------------------------------------------------------------------------------------------------
  4686. template <> size_t GenericFill<IfcRailingType>(const DB& db, const LIST& params, IfcRailingType* in)
  4687. {
  4688. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4689. // this data structure is not used yet, so there is no code generated to fill its members
  4690. return base;
  4691. }
  4692. // -----------------------------------------------------------------------------------------------------------
  4693. template <> size_t GenericFill<IfcRamp>(const DB& db, const LIST& params, IfcRamp* in)
  4694. {
  4695. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4696. // this data structure is not used yet, so there is no code generated to fill its members
  4697. return base;
  4698. }
  4699. // -----------------------------------------------------------------------------------------------------------
  4700. template <> size_t GenericFill<IfcRampFlight>(const DB& db, const LIST& params, IfcRampFlight* in)
  4701. {
  4702. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  4703. // this data structure is not used yet, so there is no code generated to fill its members
  4704. return base;
  4705. }
  4706. // -----------------------------------------------------------------------------------------------------------
  4707. template <> size_t GenericFill<IfcRampFlightType>(const DB& db, const LIST& params, IfcRampFlightType* in)
  4708. {
  4709. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4710. // this data structure is not used yet, so there is no code generated to fill its members
  4711. return base;
  4712. }
  4713. // -----------------------------------------------------------------------------------------------------------
  4714. template <> size_t GenericFill<IfcRampType>(const DB& db, const LIST& params, IfcRampType* in)
  4715. {
  4716. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  4717. // this data structure is not used yet, so there is no code generated to fill its members
  4718. return base;
  4719. }
  4720. // -----------------------------------------------------------------------------------------------------------
  4721. template <> size_t GenericFill<IfcRationalBSplineCurveWithKnots>(const DB& db, const LIST& params, IfcRationalBSplineCurveWithKnots* in)
  4722. {
  4723. size_t base = GenericFill(db,params,static_cast<IfcBSplineCurveWithKnots*>(in));
  4724. // this data structure is not used yet, so there is no code generated to fill its members
  4725. return base;
  4726. }
  4727. // -----------------------------------------------------------------------------------------------------------
  4728. template <> size_t GenericFill<IfcRationalBSplineSurfaceWithKnots>(const DB& db, const LIST& params, IfcRationalBSplineSurfaceWithKnots* in)
  4729. {
  4730. size_t base = GenericFill(db,params,static_cast<IfcBSplineSurfaceWithKnots*>(in));
  4731. // this data structure is not used yet, so there is no code generated to fill its members
  4732. return base;
  4733. }
  4734. // -----------------------------------------------------------------------------------------------------------
  4735. template <> size_t GenericFill<IfcRectangleProfileDef>(const DB& db, const LIST& params, IfcRectangleProfileDef* in)
  4736. {
  4737. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  4738. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcRectangleProfileDef"); } do { // convert the 'XDim' argument
  4739. boost::shared_ptr<const DataType> arg = params[base++];
  4740. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[0]=true; break; }
  4741. try { GenericConvert( in->XDim, arg, db ); break; }
  4742. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  4743. } while(0);
  4744. do { // convert the 'YDim' argument
  4745. boost::shared_ptr<const DataType> arg = params[base++];
  4746. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRectangleProfileDef,2>::aux_is_derived[1]=true; break; }
  4747. try { GenericConvert( in->YDim, arg, db ); break; }
  4748. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRectangleProfileDef to be a `IfcPositiveLengthMeasure`")); }
  4749. } while(0);
  4750. return base;
  4751. }
  4752. // -----------------------------------------------------------------------------------------------------------
  4753. template <> size_t GenericFill<IfcRectangleHollowProfileDef>(const DB& db, const LIST& params, IfcRectangleHollowProfileDef* in)
  4754. {
  4755. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  4756. // this data structure is not used yet, so there is no code generated to fill its members
  4757. return base;
  4758. }
  4759. // -----------------------------------------------------------------------------------------------------------
  4760. template <> size_t GenericFill<IfcRectangularPyramid>(const DB& db, const LIST& params, IfcRectangularPyramid* in)
  4761. {
  4762. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  4763. // this data structure is not used yet, so there is no code generated to fill its members
  4764. return base;
  4765. }
  4766. // -----------------------------------------------------------------------------------------------------------
  4767. template <> size_t GenericFill<IfcRectangularTrimmedSurface>(const DB& db, const LIST& params, IfcRectangularTrimmedSurface* in)
  4768. {
  4769. size_t base = GenericFill(db,params,static_cast<IfcBoundedSurface*>(in));
  4770. // this data structure is not used yet, so there is no code generated to fill its members
  4771. return base;
  4772. }
  4773. // -----------------------------------------------------------------------------------------------------------
  4774. template <> size_t GenericFill<IfcReinforcingElement>(const DB& db, const LIST& params, IfcReinforcingElement* in)
  4775. {
  4776. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  4777. // this data structure is not used yet, so there is no code generated to fill its members
  4778. return base;
  4779. }
  4780. // -----------------------------------------------------------------------------------------------------------
  4781. template <> size_t GenericFill<IfcReinforcingBar>(const DB& db, const LIST& params, IfcReinforcingBar* in)
  4782. {
  4783. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4784. // this data structure is not used yet, so there is no code generated to fill its members
  4785. return base;
  4786. }
  4787. // -----------------------------------------------------------------------------------------------------------
  4788. template <> size_t GenericFill<IfcReinforcingElementType>(const DB& db, const LIST& params, IfcReinforcingElementType* in)
  4789. {
  4790. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  4791. // this data structure is not used yet, so there is no code generated to fill its members
  4792. return base;
  4793. }
  4794. // -----------------------------------------------------------------------------------------------------------
  4795. template <> size_t GenericFill<IfcReinforcingBarType>(const DB& db, const LIST& params, IfcReinforcingBarType* in)
  4796. {
  4797. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  4798. // this data structure is not used yet, so there is no code generated to fill its members
  4799. return base;
  4800. }
  4801. // -----------------------------------------------------------------------------------------------------------
  4802. template <> size_t GenericFill<IfcReinforcingMesh>(const DB& db, const LIST& params, IfcReinforcingMesh* in)
  4803. {
  4804. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  4805. // this data structure is not used yet, so there is no code generated to fill its members
  4806. return base;
  4807. }
  4808. // -----------------------------------------------------------------------------------------------------------
  4809. template <> size_t GenericFill<IfcReinforcingMeshType>(const DB& db, const LIST& params, IfcReinforcingMeshType* in)
  4810. {
  4811. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  4812. // this data structure is not used yet, so there is no code generated to fill its members
  4813. return base;
  4814. }
  4815. // -----------------------------------------------------------------------------------------------------------
  4816. template <> size_t GenericFill<IfcRelationship>(const DB& db, const LIST& params, IfcRelationship* in)
  4817. {
  4818. size_t base = GenericFill(db,params,static_cast<IfcRoot*>(in));
  4819. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelationship"); } return base;
  4820. }
  4821. // -----------------------------------------------------------------------------------------------------------
  4822. template <> size_t GenericFill<IfcRelDecomposes>(const DB& db, const LIST& params, IfcRelDecomposes* in)
  4823. {
  4824. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4825. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelDecomposes"); } return base;
  4826. }
  4827. // -----------------------------------------------------------------------------------------------------------
  4828. template <> size_t GenericFill<IfcRelAggregates>(const DB& db, const LIST& params, IfcRelAggregates* in)
  4829. {
  4830. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  4831. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelAggregates"); } do { // convert the 'RelatingObject' argument
  4832. boost::shared_ptr<const DataType> arg = params[base++];
  4833. try { GenericConvert( in->RelatingObject, arg, db ); break; }
  4834. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelAggregates to be a `IfcObjectDefinition`")); }
  4835. } while(0);
  4836. do { // convert the 'RelatedObjects' argument
  4837. boost::shared_ptr<const DataType> arg = params[base++];
  4838. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  4839. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelAggregates to be a `SET [1:?] OF IfcObjectDefinition`")); }
  4840. } while(0);
  4841. return base;
  4842. }
  4843. // -----------------------------------------------------------------------------------------------------------
  4844. template <> size_t GenericFill<IfcRelConnects>(const DB& db, const LIST& params, IfcRelConnects* in)
  4845. {
  4846. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4847. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelConnects"); } return base;
  4848. }
  4849. // -----------------------------------------------------------------------------------------------------------
  4850. template <> size_t GenericFill<IfcRelContainedInSpatialStructure>(const DB& db, const LIST& params, IfcRelContainedInSpatialStructure* in)
  4851. {
  4852. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4853. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelContainedInSpatialStructure"); } do { // convert the 'RelatedElements' argument
  4854. boost::shared_ptr<const DataType> arg = params[base++];
  4855. try { GenericConvert( in->RelatedElements, arg, db ); break; }
  4856. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelContainedInSpatialStructure to be a `SET [1:?] OF IfcProduct`")); }
  4857. } while(0);
  4858. do { // convert the 'RelatingStructure' argument
  4859. boost::shared_ptr<const DataType> arg = params[base++];
  4860. try { GenericConvert( in->RelatingStructure, arg, db ); break; }
  4861. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelContainedInSpatialStructure to be a `IfcSpatialElement`")); }
  4862. } while(0);
  4863. return base;
  4864. }
  4865. // -----------------------------------------------------------------------------------------------------------
  4866. template <> size_t GenericFill<IfcRelDefines>(const DB& db, const LIST& params, IfcRelDefines* in)
  4867. {
  4868. size_t base = GenericFill(db,params,static_cast<IfcRelationship*>(in));
  4869. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRelDefines"); } return base;
  4870. }
  4871. // -----------------------------------------------------------------------------------------------------------
  4872. template <> size_t GenericFill<IfcRelDefinesByProperties>(const DB& db, const LIST& params, IfcRelDefinesByProperties* in)
  4873. {
  4874. size_t base = GenericFill(db,params,static_cast<IfcRelDefines*>(in));
  4875. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelDefinesByProperties"); } do { // convert the 'RelatedObjects' argument
  4876. boost::shared_ptr<const DataType> arg = params[base++];
  4877. try { GenericConvert( in->RelatedObjects, arg, db ); break; }
  4878. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelDefinesByProperties to be a `SET [1:?] OF IfcObjectDefinition`")); }
  4879. } while(0);
  4880. do { // convert the 'RelatingPropertyDefinition' argument
  4881. boost::shared_ptr<const DataType> arg = params[base++];
  4882. try { GenericConvert( in->RelatingPropertyDefinition, arg, db ); break; }
  4883. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelDefinesByProperties to be a `IfcPropertySetDefinitionSelect`")); }
  4884. } while(0);
  4885. return base;
  4886. }
  4887. // -----------------------------------------------------------------------------------------------------------
  4888. template <> size_t GenericFill<IfcRelFillsElement>(const DB& db, const LIST& params, IfcRelFillsElement* in)
  4889. {
  4890. size_t base = GenericFill(db,params,static_cast<IfcRelConnects*>(in));
  4891. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelFillsElement"); } do { // convert the 'RelatingOpeningElement' argument
  4892. boost::shared_ptr<const DataType> arg = params[base++];
  4893. try { GenericConvert( in->RelatingOpeningElement, arg, db ); break; }
  4894. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelFillsElement to be a `IfcOpeningElement`")); }
  4895. } while(0);
  4896. do { // convert the 'RelatedBuildingElement' argument
  4897. boost::shared_ptr<const DataType> arg = params[base++];
  4898. try { GenericConvert( in->RelatedBuildingElement, arg, db ); break; }
  4899. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelFillsElement to be a `IfcElement`")); }
  4900. } while(0);
  4901. return base;
  4902. }
  4903. // -----------------------------------------------------------------------------------------------------------
  4904. template <> size_t GenericFill<IfcRelVoidsElement>(const DB& db, const LIST& params, IfcRelVoidsElement* in)
  4905. {
  4906. size_t base = GenericFill(db,params,static_cast<IfcRelDecomposes*>(in));
  4907. if (params.GetSize() < 6) { throw STEP::TypeError("expected 6 arguments to IfcRelVoidsElement"); } do { // convert the 'RelatingBuildingElement' argument
  4908. boost::shared_ptr<const DataType> arg = params[base++];
  4909. try { GenericConvert( in->RelatingBuildingElement, arg, db ); break; }
  4910. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcRelVoidsElement to be a `IfcElement`")); }
  4911. } while(0);
  4912. do { // convert the 'RelatedOpeningElement' argument
  4913. boost::shared_ptr<const DataType> arg = params[base++];
  4914. try { GenericConvert( in->RelatedOpeningElement, arg, db ); break; }
  4915. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcRelVoidsElement to be a `IfcFeatureElementSubtraction`")); }
  4916. } while(0);
  4917. return base;
  4918. }
  4919. // -----------------------------------------------------------------------------------------------------------
  4920. template <> size_t GenericFill<IfcReparametrisedCompositeCurveSegment>(const DB& db, const LIST& params, IfcReparametrisedCompositeCurveSegment* in)
  4921. {
  4922. size_t base = GenericFill(db,params,static_cast<IfcCompositeCurveSegment*>(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<IfcRepresentation>(const DB& db, const LIST& params, IfcRepresentation* in)
  4928. {
  4929. size_t base = 0;
  4930. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRepresentation"); } do { // convert the 'ContextOfItems' argument
  4931. boost::shared_ptr<const DataType> arg = params[base++];
  4932. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[0]=true; break; }
  4933. try { GenericConvert( in->ContextOfItems, arg, db ); break; }
  4934. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentation to be a `IfcRepresentationContext`")); }
  4935. } while(0);
  4936. do { // convert the 'RepresentationIdentifier' argument
  4937. boost::shared_ptr<const DataType> arg = params[base++];
  4938. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[1]=true; break; }
  4939. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4940. try { GenericConvert( in->RepresentationIdentifier, arg, db ); break; }
  4941. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentation to be a `IfcLabel`")); }
  4942. } while(0);
  4943. do { // convert the 'RepresentationType' argument
  4944. boost::shared_ptr<const DataType> arg = params[base++];
  4945. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[2]=true; break; }
  4946. if (dynamic_cast<const UNSET*>(&*arg)) break;
  4947. try { GenericConvert( in->RepresentationType, arg, db ); break; }
  4948. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRepresentation to be a `IfcLabel`")); }
  4949. } while(0);
  4950. do { // convert the 'Items' argument
  4951. boost::shared_ptr<const DataType> arg = params[base++];
  4952. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRepresentation,4>::aux_is_derived[3]=true; break; }
  4953. try { GenericConvert( in->Items, arg, db ); break; }
  4954. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRepresentation to be a `SET [1:?] OF IfcRepresentationItem`")); }
  4955. } while(0);
  4956. return base;
  4957. }
  4958. // -----------------------------------------------------------------------------------------------------------
  4959. template <> size_t GenericFill<IfcRepresentationMap>(const DB& db, const LIST& params, IfcRepresentationMap* in)
  4960. {
  4961. size_t base = 0;
  4962. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcRepresentationMap"); } do { // convert the 'MappingOrigin' argument
  4963. boost::shared_ptr<const DataType> arg = params[base++];
  4964. try { GenericConvert( in->MappingOrigin, arg, db ); break; }
  4965. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcRepresentationMap to be a `IfcAxis2Placement`")); }
  4966. } while(0);
  4967. do { // convert the 'MappedRepresentation' argument
  4968. boost::shared_ptr<const DataType> arg = params[base++];
  4969. try { GenericConvert( in->MappedRepresentation, arg, db ); break; }
  4970. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcRepresentationMap to be a `IfcRepresentation`")); }
  4971. } while(0);
  4972. return base;
  4973. }
  4974. // -----------------------------------------------------------------------------------------------------------
  4975. template <> size_t GenericFill<IfcRevolvedAreaSolid>(const DB& db, const LIST& params, IfcRevolvedAreaSolid* in)
  4976. {
  4977. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  4978. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcRevolvedAreaSolid"); } do { // convert the 'Axis' argument
  4979. boost::shared_ptr<const DataType> arg = params[base++];
  4980. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRevolvedAreaSolid,2>::aux_is_derived[0]=true; break; }
  4981. try { GenericConvert( in->Axis, arg, db ); break; }
  4982. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcRevolvedAreaSolid to be a `IfcAxis1Placement`")); }
  4983. } while(0);
  4984. do { // convert the 'Angle' argument
  4985. boost::shared_ptr<const DataType> arg = params[base++];
  4986. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcRevolvedAreaSolid,2>::aux_is_derived[1]=true; break; }
  4987. try { GenericConvert( in->Angle, arg, db ); break; }
  4988. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcRevolvedAreaSolid to be a `IfcPlaneAngleMeasure`")); }
  4989. } while(0);
  4990. return base;
  4991. }
  4992. // -----------------------------------------------------------------------------------------------------------
  4993. template <> size_t GenericFill<IfcRevolvedAreaSolidTapered>(const DB& db, const LIST& params, IfcRevolvedAreaSolidTapered* in)
  4994. {
  4995. size_t base = GenericFill(db,params,static_cast<IfcRevolvedAreaSolid*>(in));
  4996. // this data structure is not used yet, so there is no code generated to fill its members
  4997. return base;
  4998. }
  4999. // -----------------------------------------------------------------------------------------------------------
  5000. template <> size_t GenericFill<IfcRightCircularCone>(const DB& db, const LIST& params, IfcRightCircularCone* in)
  5001. {
  5002. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5003. // this data structure is not used yet, so there is no code generated to fill its members
  5004. return base;
  5005. }
  5006. // -----------------------------------------------------------------------------------------------------------
  5007. template <> size_t GenericFill<IfcRightCircularCylinder>(const DB& db, const LIST& params, IfcRightCircularCylinder* in)
  5008. {
  5009. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5010. // this data structure is not used yet, so there is no code generated to fill its members
  5011. return base;
  5012. }
  5013. // -----------------------------------------------------------------------------------------------------------
  5014. template <> size_t GenericFill<IfcRoof>(const DB& db, const LIST& params, IfcRoof* in)
  5015. {
  5016. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5017. // this data structure is not used yet, so there is no code generated to fill its members
  5018. return base;
  5019. }
  5020. // -----------------------------------------------------------------------------------------------------------
  5021. template <> size_t GenericFill<IfcRoofType>(const DB& db, const LIST& params, IfcRoofType* in)
  5022. {
  5023. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5024. // this data structure is not used yet, so there is no code generated to fill its members
  5025. return base;
  5026. }
  5027. // -----------------------------------------------------------------------------------------------------------
  5028. template <> size_t GenericFill<IfcRoundedRectangleProfileDef>(const DB& db, const LIST& params, IfcRoundedRectangleProfileDef* in)
  5029. {
  5030. size_t base = GenericFill(db,params,static_cast<IfcRectangleProfileDef*>(in));
  5031. // this data structure is not used yet, so there is no code generated to fill its members
  5032. return base;
  5033. }
  5034. // -----------------------------------------------------------------------------------------------------------
  5035. template <> size_t GenericFill<IfcSIUnit>(const DB& db, const LIST& params, IfcSIUnit* in)
  5036. {
  5037. size_t base = GenericFill(db,params,static_cast<IfcNamedUnit*>(in));
  5038. if (params.GetSize() < 4) { throw STEP::TypeError("expected 4 arguments to IfcSIUnit"); } do { // convert the 'Prefix' argument
  5039. boost::shared_ptr<const DataType> arg = params[base++];
  5040. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5041. try { GenericConvert( in->Prefix, arg, db ); break; }
  5042. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSIUnit to be a `IfcSIPrefix`")); }
  5043. } while(0);
  5044. do { // convert the 'Name' argument
  5045. boost::shared_ptr<const DataType> arg = params[base++];
  5046. try { GenericConvert( in->Name, arg, db ); break; }
  5047. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSIUnit to be a `IfcSIUnitName`")); }
  5048. } while(0);
  5049. return base;
  5050. }
  5051. // -----------------------------------------------------------------------------------------------------------
  5052. template <> size_t GenericFill<IfcSanitaryTerminal>(const DB& db, const LIST& params, IfcSanitaryTerminal* in)
  5053. {
  5054. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5055. // this data structure is not used yet, so there is no code generated to fill its members
  5056. return base;
  5057. }
  5058. // -----------------------------------------------------------------------------------------------------------
  5059. template <> size_t GenericFill<IfcSanitaryTerminalType>(const DB& db, const LIST& params, IfcSanitaryTerminalType* in)
  5060. {
  5061. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5062. // this data structure is not used yet, so there is no code generated to fill its members
  5063. return base;
  5064. }
  5065. // -----------------------------------------------------------------------------------------------------------
  5066. template <> size_t GenericFill<IfcSeamCurve>(const DB& db, const LIST& params, IfcSeamCurve* in)
  5067. {
  5068. size_t base = GenericFill(db,params,static_cast<IfcSurfaceCurve*>(in));
  5069. // this data structure is not used yet, so there is no code generated to fill its members
  5070. return base;
  5071. }
  5072. // -----------------------------------------------------------------------------------------------------------
  5073. template <> size_t GenericFill<IfcSectionedSpine>(const DB& db, const LIST& params, IfcSectionedSpine* in)
  5074. {
  5075. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5076. // this data structure is not used yet, so there is no code generated to fill its members
  5077. return base;
  5078. }
  5079. // -----------------------------------------------------------------------------------------------------------
  5080. template <> size_t GenericFill<IfcSensor>(const DB& db, const LIST& params, IfcSensor* in)
  5081. {
  5082. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  5083. // this data structure is not used yet, so there is no code generated to fill its members
  5084. return base;
  5085. }
  5086. // -----------------------------------------------------------------------------------------------------------
  5087. template <> size_t GenericFill<IfcSensorType>(const DB& db, const LIST& params, IfcSensorType* in)
  5088. {
  5089. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  5090. // this data structure is not used yet, so there is no code generated to fill its members
  5091. return base;
  5092. }
  5093. // -----------------------------------------------------------------------------------------------------------
  5094. template <> size_t GenericFill<IfcShadingDevice>(const DB& db, const LIST& params, IfcShadingDevice* in)
  5095. {
  5096. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5097. // this data structure is not used yet, so there is no code generated to fill its members
  5098. return base;
  5099. }
  5100. // -----------------------------------------------------------------------------------------------------------
  5101. template <> size_t GenericFill<IfcShadingDeviceType>(const DB& db, const LIST& params, IfcShadingDeviceType* in)
  5102. {
  5103. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5104. // this data structure is not used yet, so there is no code generated to fill its members
  5105. return base;
  5106. }
  5107. // -----------------------------------------------------------------------------------------------------------
  5108. template <> size_t GenericFill<IfcShapeModel>(const DB& db, const LIST& params, IfcShapeModel* in)
  5109. {
  5110. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  5111. // this data structure is not used yet, so there is no code generated to fill its members
  5112. return base;
  5113. }
  5114. // -----------------------------------------------------------------------------------------------------------
  5115. template <> size_t GenericFill<IfcShapeRepresentation>(const DB& db, const LIST& params, IfcShapeRepresentation* in)
  5116. {
  5117. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  5118. // this data structure is not used yet, so there is no code generated to fill its members
  5119. return base;
  5120. }
  5121. // -----------------------------------------------------------------------------------------------------------
  5122. template <> size_t GenericFill<IfcShellBasedSurfaceModel>(const DB& db, const LIST& params, IfcShellBasedSurfaceModel* in)
  5123. {
  5124. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5125. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcShellBasedSurfaceModel"); } do { // convert the 'SbsmBoundary' argument
  5126. boost::shared_ptr<const DataType> arg = params[base++];
  5127. try { GenericConvert( in->SbsmBoundary, arg, db ); break; }
  5128. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcShellBasedSurfaceModel to be a `SET [1:?] OF IfcShell`")); }
  5129. } while(0);
  5130. return base;
  5131. }
  5132. // -----------------------------------------------------------------------------------------------------------
  5133. template <> size_t GenericFill<IfcSite>(const DB& db, const LIST& params, IfcSite* in)
  5134. {
  5135. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  5136. if (params.GetSize() < 14) { throw STEP::TypeError("expected 14 arguments to IfcSite"); } do { // convert the 'RefLatitude' argument
  5137. boost::shared_ptr<const DataType> arg = params[base++];
  5138. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5139. try { GenericConvert( in->RefLatitude, arg, db ); break; }
  5140. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  5141. } while(0);
  5142. do { // convert the 'RefLongitude' argument
  5143. boost::shared_ptr<const DataType> arg = params[base++];
  5144. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5145. try { GenericConvert( in->RefLongitude, arg, db ); break; }
  5146. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSite to be a `IfcCompoundPlaneAngleMeasure`")); }
  5147. } while(0);
  5148. do { // convert the 'RefElevation' argument
  5149. boost::shared_ptr<const DataType> arg = params[base++];
  5150. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5151. try { GenericConvert( in->RefElevation, arg, db ); break; }
  5152. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 11 to IfcSite to be a `IfcLengthMeasure`")); }
  5153. } while(0);
  5154. do { // convert the 'LandTitleNumber' argument
  5155. boost::shared_ptr<const DataType> arg = params[base++];
  5156. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5157. try { GenericConvert( in->LandTitleNumber, arg, db ); break; }
  5158. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 12 to IfcSite to be a `IfcLabel`")); }
  5159. } while(0);
  5160. do { // convert the 'SiteAddress' argument
  5161. boost::shared_ptr<const DataType> arg = params[base++];
  5162. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5163. try { GenericConvert( in->SiteAddress, arg, db ); break; }
  5164. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 13 to IfcSite to be a `IfcPostalAddress`")); }
  5165. } while(0);
  5166. return base;
  5167. }
  5168. // -----------------------------------------------------------------------------------------------------------
  5169. template <> size_t GenericFill<IfcSlab>(const DB& db, const LIST& params, IfcSlab* in)
  5170. {
  5171. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5172. // this data structure is not used yet, so there is no code generated to fill its members
  5173. return base;
  5174. }
  5175. // -----------------------------------------------------------------------------------------------------------
  5176. template <> size_t GenericFill<IfcSlabElementedCase>(const DB& db, const LIST& params, IfcSlabElementedCase* in)
  5177. {
  5178. size_t base = GenericFill(db,params,static_cast<IfcSlab*>(in));
  5179. // this data structure is not used yet, so there is no code generated to fill its members
  5180. return base;
  5181. }
  5182. // -----------------------------------------------------------------------------------------------------------
  5183. template <> size_t GenericFill<IfcSlabStandardCase>(const DB& db, const LIST& params, IfcSlabStandardCase* in)
  5184. {
  5185. size_t base = GenericFill(db,params,static_cast<IfcSlab*>(in));
  5186. // this data structure is not used yet, so there is no code generated to fill its members
  5187. return base;
  5188. }
  5189. // -----------------------------------------------------------------------------------------------------------
  5190. template <> size_t GenericFill<IfcSlabType>(const DB& db, const LIST& params, IfcSlabType* in)
  5191. {
  5192. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5193. // this data structure is not used yet, so there is no code generated to fill its members
  5194. return base;
  5195. }
  5196. // -----------------------------------------------------------------------------------------------------------
  5197. template <> size_t GenericFill<IfcSolarDevice>(const DB& db, const LIST& params, IfcSolarDevice* in)
  5198. {
  5199. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5200. // this data structure is not used yet, so there is no code generated to fill its members
  5201. return base;
  5202. }
  5203. // -----------------------------------------------------------------------------------------------------------
  5204. template <> size_t GenericFill<IfcSolarDeviceType>(const DB& db, const LIST& params, IfcSolarDeviceType* in)
  5205. {
  5206. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5207. // this data structure is not used yet, so there is no code generated to fill its members
  5208. return base;
  5209. }
  5210. // -----------------------------------------------------------------------------------------------------------
  5211. template <> size_t GenericFill<IfcSpace>(const DB& db, const LIST& params, IfcSpace* in)
  5212. {
  5213. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElement*>(in));
  5214. if (params.GetSize() < 11) { throw STEP::TypeError("expected 11 arguments to IfcSpace"); } do { // convert the 'PredefinedType' argument
  5215. boost::shared_ptr<const DataType> arg = params[base++];
  5216. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5217. try { GenericConvert( in->PredefinedType, arg, db ); break; }
  5218. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 9 to IfcSpace to be a `IfcSpaceTypeEnum`")); }
  5219. } while(0);
  5220. do { // convert the 'ElevationWithFlooring' argument
  5221. boost::shared_ptr<const DataType> arg = params[base++];
  5222. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5223. try { GenericConvert( in->ElevationWithFlooring, arg, db ); break; }
  5224. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 10 to IfcSpace to be a `IfcLengthMeasure`")); }
  5225. } while(0);
  5226. return base;
  5227. }
  5228. // -----------------------------------------------------------------------------------------------------------
  5229. template <> size_t GenericFill<IfcSpaceHeater>(const DB& db, const LIST& params, IfcSpaceHeater* in)
  5230. {
  5231. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5232. // this data structure is not used yet, so there is no code generated to fill its members
  5233. return base;
  5234. }
  5235. // -----------------------------------------------------------------------------------------------------------
  5236. template <> size_t GenericFill<IfcSpaceHeaterType>(const DB& db, const LIST& params, IfcSpaceHeaterType* in)
  5237. {
  5238. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5239. // this data structure is not used yet, so there is no code generated to fill its members
  5240. return base;
  5241. }
  5242. // -----------------------------------------------------------------------------------------------------------
  5243. template <> size_t GenericFill<IfcSpatialElementType>(const DB& db, const LIST& params, IfcSpatialElementType* in)
  5244. {
  5245. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  5246. // this data structure is not used yet, so there is no code generated to fill its members
  5247. return base;
  5248. }
  5249. // -----------------------------------------------------------------------------------------------------------
  5250. template <> size_t GenericFill<IfcSpatialStructureElementType>(const DB& db, const LIST& params, IfcSpatialStructureElementType* in)
  5251. {
  5252. size_t base = GenericFill(db,params,static_cast<IfcSpatialElementType*>(in));
  5253. // this data structure is not used yet, so there is no code generated to fill its members
  5254. return base;
  5255. }
  5256. // -----------------------------------------------------------------------------------------------------------
  5257. template <> size_t GenericFill<IfcSpaceType>(const DB& db, const LIST& params, IfcSpaceType* in)
  5258. {
  5259. size_t base = GenericFill(db,params,static_cast<IfcSpatialStructureElementType*>(in));
  5260. // this data structure is not used yet, so there is no code generated to fill its members
  5261. return base;
  5262. }
  5263. // -----------------------------------------------------------------------------------------------------------
  5264. template <> size_t GenericFill<IfcSpatialZone>(const DB& db, const LIST& params, IfcSpatialZone* in)
  5265. {
  5266. size_t base = GenericFill(db,params,static_cast<IfcSpatialElement*>(in));
  5267. // this data structure is not used yet, so there is no code generated to fill its members
  5268. return base;
  5269. }
  5270. // -----------------------------------------------------------------------------------------------------------
  5271. template <> size_t GenericFill<IfcSpatialZoneType>(const DB& db, const LIST& params, IfcSpatialZoneType* in)
  5272. {
  5273. size_t base = GenericFill(db,params,static_cast<IfcSpatialElementType*>(in));
  5274. // this data structure is not used yet, so there is no code generated to fill its members
  5275. return base;
  5276. }
  5277. // -----------------------------------------------------------------------------------------------------------
  5278. template <> size_t GenericFill<IfcSphere>(const DB& db, const LIST& params, IfcSphere* in)
  5279. {
  5280. size_t base = GenericFill(db,params,static_cast<IfcCsgPrimitive3D*>(in));
  5281. // this data structure is not used yet, so there is no code generated to fill its members
  5282. return base;
  5283. }
  5284. // -----------------------------------------------------------------------------------------------------------
  5285. template <> size_t GenericFill<IfcSphericalSurface>(const DB& db, const LIST& params, IfcSphericalSurface* in)
  5286. {
  5287. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  5288. // this data structure is not used yet, so there is no code generated to fill its members
  5289. return base;
  5290. }
  5291. // -----------------------------------------------------------------------------------------------------------
  5292. template <> size_t GenericFill<IfcStackTerminal>(const DB& db, const LIST& params, IfcStackTerminal* in)
  5293. {
  5294. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  5295. // this data structure is not used yet, so there is no code generated to fill its members
  5296. return base;
  5297. }
  5298. // -----------------------------------------------------------------------------------------------------------
  5299. template <> size_t GenericFill<IfcStackTerminalType>(const DB& db, const LIST& params, IfcStackTerminalType* in)
  5300. {
  5301. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  5302. // this data structure is not used yet, so there is no code generated to fill its members
  5303. return base;
  5304. }
  5305. // -----------------------------------------------------------------------------------------------------------
  5306. template <> size_t GenericFill<IfcStair>(const DB& db, const LIST& params, IfcStair* in)
  5307. {
  5308. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5309. // this data structure is not used yet, so there is no code generated to fill its members
  5310. return base;
  5311. }
  5312. // -----------------------------------------------------------------------------------------------------------
  5313. template <> size_t GenericFill<IfcStairFlight>(const DB& db, const LIST& params, IfcStairFlight* in)
  5314. {
  5315. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  5316. // this data structure is not used yet, so there is no code generated to fill its members
  5317. return base;
  5318. }
  5319. // -----------------------------------------------------------------------------------------------------------
  5320. template <> size_t GenericFill<IfcStairFlightType>(const DB& db, const LIST& params, IfcStairFlightType* in)
  5321. {
  5322. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5323. // this data structure is not used yet, so there is no code generated to fill its members
  5324. return base;
  5325. }
  5326. // -----------------------------------------------------------------------------------------------------------
  5327. template <> size_t GenericFill<IfcStairType>(const DB& db, const LIST& params, IfcStairType* in)
  5328. {
  5329. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  5330. // this data structure is not used yet, so there is no code generated to fill its members
  5331. return base;
  5332. }
  5333. // -----------------------------------------------------------------------------------------------------------
  5334. template <> size_t GenericFill<IfcStructuralActivity>(const DB& db, const LIST& params, IfcStructuralActivity* in)
  5335. {
  5336. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  5337. // this data structure is not used yet, so there is no code generated to fill its members
  5338. return base;
  5339. }
  5340. // -----------------------------------------------------------------------------------------------------------
  5341. template <> size_t GenericFill<IfcStructuralAction>(const DB& db, const LIST& params, IfcStructuralAction* in)
  5342. {
  5343. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  5344. // this data structure is not used yet, so there is no code generated to fill its members
  5345. return base;
  5346. }
  5347. // -----------------------------------------------------------------------------------------------------------
  5348. template <> size_t GenericFill<IfcStructuralAnalysisModel>(const DB& db, const LIST& params, IfcStructuralAnalysisModel* in)
  5349. {
  5350. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  5351. // this data structure is not used yet, so there is no code generated to fill its members
  5352. return base;
  5353. }
  5354. // -----------------------------------------------------------------------------------------------------------
  5355. template <> size_t GenericFill<IfcStructuralItem>(const DB& db, const LIST& params, IfcStructuralItem* in)
  5356. {
  5357. size_t base = GenericFill(db,params,static_cast<IfcProduct*>(in));
  5358. // this data structure is not used yet, so there is no code generated to fill its members
  5359. return base;
  5360. }
  5361. // -----------------------------------------------------------------------------------------------------------
  5362. template <> size_t GenericFill<IfcStructuralConnection>(const DB& db, const LIST& params, IfcStructuralConnection* in)
  5363. {
  5364. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  5365. // this data structure is not used yet, so there is no code generated to fill its members
  5366. return base;
  5367. }
  5368. // -----------------------------------------------------------------------------------------------------------
  5369. template <> size_t GenericFill<IfcStructuralCurveAction>(const DB& db, const LIST& params, IfcStructuralCurveAction* in)
  5370. {
  5371. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5372. // this data structure is not used yet, so there is no code generated to fill its members
  5373. return base;
  5374. }
  5375. // -----------------------------------------------------------------------------------------------------------
  5376. template <> size_t GenericFill<IfcStructuralCurveConnection>(const DB& db, const LIST& params, IfcStructuralCurveConnection* in)
  5377. {
  5378. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5379. // this data structure is not used yet, so there is no code generated to fill its members
  5380. return base;
  5381. }
  5382. // -----------------------------------------------------------------------------------------------------------
  5383. template <> size_t GenericFill<IfcStructuralMember>(const DB& db, const LIST& params, IfcStructuralMember* in)
  5384. {
  5385. size_t base = GenericFill(db,params,static_cast<IfcStructuralItem*>(in));
  5386. // this data structure is not used yet, so there is no code generated to fill its members
  5387. return base;
  5388. }
  5389. // -----------------------------------------------------------------------------------------------------------
  5390. template <> size_t GenericFill<IfcStructuralCurveMember>(const DB& db, const LIST& params, IfcStructuralCurveMember* in)
  5391. {
  5392. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  5393. // this data structure is not used yet, so there is no code generated to fill its members
  5394. return base;
  5395. }
  5396. // -----------------------------------------------------------------------------------------------------------
  5397. template <> size_t GenericFill<IfcStructuralCurveMemberVarying>(const DB& db, const LIST& params, IfcStructuralCurveMemberVarying* in)
  5398. {
  5399. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveMember*>(in));
  5400. // this data structure is not used yet, so there is no code generated to fill its members
  5401. return base;
  5402. }
  5403. // -----------------------------------------------------------------------------------------------------------
  5404. template <> size_t GenericFill<IfcStructuralReaction>(const DB& db, const LIST& params, IfcStructuralReaction* in)
  5405. {
  5406. size_t base = GenericFill(db,params,static_cast<IfcStructuralActivity*>(in));
  5407. // this data structure is not used yet, so there is no code generated to fill its members
  5408. return base;
  5409. }
  5410. // -----------------------------------------------------------------------------------------------------------
  5411. template <> size_t GenericFill<IfcStructuralCurveReaction>(const DB& db, const LIST& params, IfcStructuralCurveReaction* in)
  5412. {
  5413. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5414. // this data structure is not used yet, so there is no code generated to fill its members
  5415. return base;
  5416. }
  5417. // -----------------------------------------------------------------------------------------------------------
  5418. template <> size_t GenericFill<IfcStructuralLinearAction>(const DB& db, const LIST& params, IfcStructuralLinearAction* in)
  5419. {
  5420. size_t base = GenericFill(db,params,static_cast<IfcStructuralCurveAction*>(in));
  5421. // this data structure is not used yet, so there is no code generated to fill its members
  5422. return base;
  5423. }
  5424. // -----------------------------------------------------------------------------------------------------------
  5425. template <> size_t GenericFill<IfcStructuralLoadGroup>(const DB& db, const LIST& params, IfcStructuralLoadGroup* in)
  5426. {
  5427. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  5428. // this data structure is not used yet, so there is no code generated to fill its members
  5429. return base;
  5430. }
  5431. // -----------------------------------------------------------------------------------------------------------
  5432. template <> size_t GenericFill<IfcStructuralLoadCase>(const DB& db, const LIST& params, IfcStructuralLoadCase* in)
  5433. {
  5434. size_t base = GenericFill(db,params,static_cast<IfcStructuralLoadGroup*>(in));
  5435. // this data structure is not used yet, so there is no code generated to fill its members
  5436. return base;
  5437. }
  5438. // -----------------------------------------------------------------------------------------------------------
  5439. template <> size_t GenericFill<IfcStructuralSurfaceAction>(const DB& db, const LIST& params, IfcStructuralSurfaceAction* in)
  5440. {
  5441. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5442. // this data structure is not used yet, so there is no code generated to fill its members
  5443. return base;
  5444. }
  5445. // -----------------------------------------------------------------------------------------------------------
  5446. template <> size_t GenericFill<IfcStructuralPlanarAction>(const DB& db, const LIST& params, IfcStructuralPlanarAction* in)
  5447. {
  5448. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceAction*>(in));
  5449. // this data structure is not used yet, so there is no code generated to fill its members
  5450. return base;
  5451. }
  5452. // -----------------------------------------------------------------------------------------------------------
  5453. template <> size_t GenericFill<IfcStructuralPointAction>(const DB& db, const LIST& params, IfcStructuralPointAction* in)
  5454. {
  5455. size_t base = GenericFill(db,params,static_cast<IfcStructuralAction*>(in));
  5456. // this data structure is not used yet, so there is no code generated to fill its members
  5457. return base;
  5458. }
  5459. // -----------------------------------------------------------------------------------------------------------
  5460. template <> size_t GenericFill<IfcStructuralPointConnection>(const DB& db, const LIST& params, IfcStructuralPointConnection* in)
  5461. {
  5462. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5463. // this data structure is not used yet, so there is no code generated to fill its members
  5464. return base;
  5465. }
  5466. // -----------------------------------------------------------------------------------------------------------
  5467. template <> size_t GenericFill<IfcStructuralPointReaction>(const DB& db, const LIST& params, IfcStructuralPointReaction* in)
  5468. {
  5469. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5470. // this data structure is not used yet, so there is no code generated to fill its members
  5471. return base;
  5472. }
  5473. // -----------------------------------------------------------------------------------------------------------
  5474. template <> size_t GenericFill<IfcStructuralResultGroup>(const DB& db, const LIST& params, IfcStructuralResultGroup* in)
  5475. {
  5476. size_t base = GenericFill(db,params,static_cast<IfcGroup*>(in));
  5477. // this data structure is not used yet, so there is no code generated to fill its members
  5478. return base;
  5479. }
  5480. // -----------------------------------------------------------------------------------------------------------
  5481. template <> size_t GenericFill<IfcStructuralSurfaceConnection>(const DB& db, const LIST& params, IfcStructuralSurfaceConnection* in)
  5482. {
  5483. size_t base = GenericFill(db,params,static_cast<IfcStructuralConnection*>(in));
  5484. // this data structure is not used yet, so there is no code generated to fill its members
  5485. return base;
  5486. }
  5487. // -----------------------------------------------------------------------------------------------------------
  5488. template <> size_t GenericFill<IfcStructuralSurfaceMember>(const DB& db, const LIST& params, IfcStructuralSurfaceMember* in)
  5489. {
  5490. size_t base = GenericFill(db,params,static_cast<IfcStructuralMember*>(in));
  5491. // this data structure is not used yet, so there is no code generated to fill its members
  5492. return base;
  5493. }
  5494. // -----------------------------------------------------------------------------------------------------------
  5495. template <> size_t GenericFill<IfcStructuralSurfaceMemberVarying>(const DB& db, const LIST& params, IfcStructuralSurfaceMemberVarying* in)
  5496. {
  5497. size_t base = GenericFill(db,params,static_cast<IfcStructuralSurfaceMember*>(in));
  5498. // this data structure is not used yet, so there is no code generated to fill its members
  5499. return base;
  5500. }
  5501. // -----------------------------------------------------------------------------------------------------------
  5502. template <> size_t GenericFill<IfcStructuralSurfaceReaction>(const DB& db, const LIST& params, IfcStructuralSurfaceReaction* in)
  5503. {
  5504. size_t base = GenericFill(db,params,static_cast<IfcStructuralReaction*>(in));
  5505. // this data structure is not used yet, so there is no code generated to fill its members
  5506. return base;
  5507. }
  5508. // -----------------------------------------------------------------------------------------------------------
  5509. template <> size_t GenericFill<IfcStyleModel>(const DB& db, const LIST& params, IfcStyleModel* in)
  5510. {
  5511. size_t base = GenericFill(db,params,static_cast<IfcRepresentation*>(in));
  5512. // this data structure is not used yet, so there is no code generated to fill its members
  5513. return base;
  5514. }
  5515. // -----------------------------------------------------------------------------------------------------------
  5516. template <> size_t GenericFill<IfcStyledItem>(const DB& db, const LIST& params, IfcStyledItem* in)
  5517. {
  5518. size_t base = GenericFill(db,params,static_cast<IfcRepresentationItem*>(in));
  5519. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcStyledItem"); } do { // convert the 'Item' argument
  5520. boost::shared_ptr<const DataType> arg = params[base++];
  5521. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5522. try { GenericConvert( in->Item, arg, db ); break; }
  5523. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcStyledItem to be a `IfcRepresentationItem`")); }
  5524. } while(0);
  5525. do { // convert the 'Styles' argument
  5526. boost::shared_ptr<const DataType> arg = params[base++];
  5527. try { GenericConvert( in->Styles, arg, db ); break; }
  5528. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcStyledItem to be a `SET [1:?] OF IfcStyleAssignmentSelect`")); }
  5529. } while(0);
  5530. do { // convert the 'Name' argument
  5531. boost::shared_ptr<const DataType> arg = params[base++];
  5532. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5533. try { GenericConvert( in->Name, arg, db ); break; }
  5534. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcStyledItem to be a `IfcLabel`")); }
  5535. } while(0);
  5536. return base;
  5537. }
  5538. // -----------------------------------------------------------------------------------------------------------
  5539. template <> size_t GenericFill<IfcStyledRepresentation>(const DB& db, const LIST& params, IfcStyledRepresentation* in)
  5540. {
  5541. size_t base = GenericFill(db,params,static_cast<IfcStyleModel*>(in));
  5542. // this data structure is not used yet, so there is no code generated to fill its members
  5543. return base;
  5544. }
  5545. // -----------------------------------------------------------------------------------------------------------
  5546. template <> size_t GenericFill<IfcSubContractResource>(const DB& db, const LIST& params, IfcSubContractResource* in)
  5547. {
  5548. size_t base = GenericFill(db,params,static_cast<IfcConstructionResource*>(in));
  5549. // this data structure is not used yet, so there is no code generated to fill its members
  5550. return base;
  5551. }
  5552. // -----------------------------------------------------------------------------------------------------------
  5553. template <> size_t GenericFill<IfcSubContractResourceType>(const DB& db, const LIST& params, IfcSubContractResourceType* in)
  5554. {
  5555. size_t base = GenericFill(db,params,static_cast<IfcConstructionResourceType*>(in));
  5556. // this data structure is not used yet, so there is no code generated to fill its members
  5557. return base;
  5558. }
  5559. // -----------------------------------------------------------------------------------------------------------
  5560. template <> size_t GenericFill<IfcSubedge>(const DB& db, const LIST& params, IfcSubedge* in)
  5561. {
  5562. size_t base = GenericFill(db,params,static_cast<IfcEdge*>(in));
  5563. // this data structure is not used yet, so there is no code generated to fill its members
  5564. return base;
  5565. }
  5566. // -----------------------------------------------------------------------------------------------------------
  5567. template <> size_t GenericFill<IfcSurfaceCurveSweptAreaSolid>(const DB& db, const LIST& params, IfcSurfaceCurveSweptAreaSolid* in)
  5568. {
  5569. size_t base = GenericFill(db,params,static_cast<IfcSweptAreaSolid*>(in));
  5570. // this data structure is not used yet, so there is no code generated to fill its members
  5571. return base;
  5572. }
  5573. // -----------------------------------------------------------------------------------------------------------
  5574. template <> size_t GenericFill<IfcSurfaceFeature>(const DB& db, const LIST& params, IfcSurfaceFeature* in)
  5575. {
  5576. size_t base = GenericFill(db,params,static_cast<IfcFeatureElement*>(in));
  5577. // this data structure is not used yet, so there is no code generated to fill its members
  5578. return base;
  5579. }
  5580. // -----------------------------------------------------------------------------------------------------------
  5581. template <> size_t GenericFill<IfcSweptSurface>(const DB& db, const LIST& params, IfcSweptSurface* in)
  5582. {
  5583. size_t base = GenericFill(db,params,static_cast<IfcSurface*>(in));
  5584. // this data structure is not used yet, so there is no code generated to fill its members
  5585. return base;
  5586. }
  5587. // -----------------------------------------------------------------------------------------------------------
  5588. template <> size_t GenericFill<IfcSurfaceOfLinearExtrusion>(const DB& db, const LIST& params, IfcSurfaceOfLinearExtrusion* in)
  5589. {
  5590. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  5591. // this data structure is not used yet, so there is no code generated to fill its members
  5592. return base;
  5593. }
  5594. // -----------------------------------------------------------------------------------------------------------
  5595. template <> size_t GenericFill<IfcSurfaceOfRevolution>(const DB& db, const LIST& params, IfcSurfaceOfRevolution* in)
  5596. {
  5597. size_t base = GenericFill(db,params,static_cast<IfcSweptSurface*>(in));
  5598. // this data structure is not used yet, so there is no code generated to fill its members
  5599. return base;
  5600. }
  5601. // -----------------------------------------------------------------------------------------------------------
  5602. template <> size_t GenericFill<IfcSurfaceStyle>(const DB& db, const LIST& params, IfcSurfaceStyle* in)
  5603. {
  5604. size_t base = GenericFill(db,params,static_cast<IfcPresentationStyle*>(in));
  5605. if (params.GetSize() < 3) { throw STEP::TypeError("expected 3 arguments to IfcSurfaceStyle"); } do { // convert the 'Side' argument
  5606. boost::shared_ptr<const DataType> arg = params[base++];
  5607. try { GenericConvert( in->Side, arg, db ); break; }
  5608. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyle to be a `IfcSurfaceSide`")); }
  5609. } while(0);
  5610. do { // convert the 'Styles' argument
  5611. boost::shared_ptr<const DataType> arg = params[base++];
  5612. try { GenericConvert( in->Styles, arg, db ); break; }
  5613. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyle to be a `SET [1:5] OF IfcSurfaceStyleElementSelect`")); }
  5614. } while(0);
  5615. return base;
  5616. }
  5617. // -----------------------------------------------------------------------------------------------------------
  5618. template <> size_t GenericFill<IfcSurfaceStyleShading>(const DB& db, const LIST& params, IfcSurfaceStyleShading* in)
  5619. {
  5620. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  5621. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcSurfaceStyleShading"); } do { // convert the 'SurfaceColour' argument
  5622. boost::shared_ptr<const DataType> arg = params[base++];
  5623. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,2>::aux_is_derived[0]=true; break; }
  5624. try { GenericConvert( in->SurfaceColour, arg, db ); break; }
  5625. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleShading to be a `IfcColourRgb`")); }
  5626. } while(0);
  5627. do { // convert the 'Transparency' argument
  5628. boost::shared_ptr<const DataType> arg = params[base++];
  5629. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSurfaceStyleShading,2>::aux_is_derived[1]=true; break; }
  5630. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5631. try { GenericConvert( in->Transparency, arg, db ); break; }
  5632. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSurfaceStyleShading to be a `IfcNormalisedRatioMeasure`")); }
  5633. } while(0);
  5634. return base;
  5635. }
  5636. // -----------------------------------------------------------------------------------------------------------
  5637. template <> size_t GenericFill<IfcSurfaceStyleRendering>(const DB& db, const LIST& params, IfcSurfaceStyleRendering* in)
  5638. {
  5639. size_t base = GenericFill(db,params,static_cast<IfcSurfaceStyleShading*>(in));
  5640. if (params.GetSize() < 9) { throw STEP::TypeError("expected 9 arguments to IfcSurfaceStyleRendering"); } do { // convert the 'DiffuseColour' argument
  5641. boost::shared_ptr<const DataType> arg = params[base++];
  5642. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5643. try { GenericConvert( in->DiffuseColour, arg, db ); break; }
  5644. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5645. } while(0);
  5646. do { // convert the 'TransmissionColour' argument
  5647. boost::shared_ptr<const DataType> arg = params[base++];
  5648. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5649. try { GenericConvert( in->TransmissionColour, arg, db ); break; }
  5650. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5651. } while(0);
  5652. do { // convert the 'DiffuseTransmissionColour' argument
  5653. boost::shared_ptr<const DataType> arg = params[base++];
  5654. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5655. try { GenericConvert( in->DiffuseTransmissionColour, arg, db ); break; }
  5656. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5657. } while(0);
  5658. do { // convert the 'ReflectionColour' argument
  5659. boost::shared_ptr<const DataType> arg = params[base++];
  5660. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5661. try { GenericConvert( in->ReflectionColour, arg, db ); break; }
  5662. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 5 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5663. } while(0);
  5664. do { // convert the 'SpecularColour' argument
  5665. boost::shared_ptr<const DataType> arg = params[base++];
  5666. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5667. try { GenericConvert( in->SpecularColour, arg, db ); break; }
  5668. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 6 to IfcSurfaceStyleRendering to be a `IfcColourOrFactor`")); }
  5669. } while(0);
  5670. do { // convert the 'SpecularHighlight' argument
  5671. boost::shared_ptr<const DataType> arg = params[base++];
  5672. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5673. try { GenericConvert( in->SpecularHighlight, arg, db ); break; }
  5674. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 7 to IfcSurfaceStyleRendering to be a `IfcSpecularHighlightSelect`")); }
  5675. } while(0);
  5676. do { // convert the 'ReflectanceMethod' argument
  5677. boost::shared_ptr<const DataType> arg = params[base++];
  5678. try { GenericConvert( in->ReflectanceMethod, arg, db ); break; }
  5679. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 8 to IfcSurfaceStyleRendering to be a `IfcReflectanceMethodEnum`")); }
  5680. } while(0);
  5681. return base;
  5682. }
  5683. // -----------------------------------------------------------------------------------------------------------
  5684. template <> size_t GenericFill<IfcSurfaceStyleWithTextures>(const DB& db, const LIST& params, IfcSurfaceStyleWithTextures* in)
  5685. {
  5686. size_t base = GenericFill(db,params,static_cast<IfcPresentationItem*>(in));
  5687. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcSurfaceStyleWithTextures"); } do { // convert the 'Textures' argument
  5688. boost::shared_ptr<const DataType> arg = params[base++];
  5689. try { GenericConvert( in->Textures, arg, db ); break; }
  5690. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSurfaceStyleWithTextures to be a `LIST [1:?] OF IfcSurfaceTexture`")); }
  5691. } while(0);
  5692. return base;
  5693. }
  5694. // -----------------------------------------------------------------------------------------------------------
  5695. template <> size_t GenericFill<IfcSweptDiskSolid>(const DB& db, const LIST& params, IfcSweptDiskSolid* in)
  5696. {
  5697. size_t base = GenericFill(db,params,static_cast<IfcSolidModel*>(in));
  5698. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcSweptDiskSolid"); } do { // convert the 'Directrix' argument
  5699. boost::shared_ptr<const DataType> arg = params[base++];
  5700. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[0]=true; break; }
  5701. try { GenericConvert( in->Directrix, arg, db ); break; }
  5702. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcSweptDiskSolid to be a `IfcCurve`")); }
  5703. } while(0);
  5704. do { // convert the 'Radius' argument
  5705. boost::shared_ptr<const DataType> arg = params[base++];
  5706. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[1]=true; break; }
  5707. try { GenericConvert( in->Radius, arg, db ); break; }
  5708. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  5709. } while(0);
  5710. do { // convert the 'InnerRadius' argument
  5711. boost::shared_ptr<const DataType> arg = params[base++];
  5712. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[2]=true; break; }
  5713. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5714. try { GenericConvert( in->InnerRadius, arg, db ); break; }
  5715. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcSweptDiskSolid to be a `IfcPositiveLengthMeasure`")); }
  5716. } while(0);
  5717. do { // convert the 'StartParam' argument
  5718. boost::shared_ptr<const DataType> arg = params[base++];
  5719. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[3]=true; break; }
  5720. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5721. try { GenericConvert( in->StartParam, arg, db ); break; }
  5722. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  5723. } while(0);
  5724. do { // convert the 'EndParam' argument
  5725. boost::shared_ptr<const DataType> arg = params[base++];
  5726. if (dynamic_cast<const ISDERIVED*>(&*arg)) { in->ObjectHelper<Assimp::IFC::IfcSweptDiskSolid,5>::aux_is_derived[4]=true; break; }
  5727. if (dynamic_cast<const UNSET*>(&*arg)) break;
  5728. try { GenericConvert( in->EndParam, arg, db ); break; }
  5729. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcSweptDiskSolid to be a `IfcParameterValue`")); }
  5730. } while(0);
  5731. return base;
  5732. }
  5733. // -----------------------------------------------------------------------------------------------------------
  5734. template <> size_t GenericFill<IfcSweptDiskSolidPolygonal>(const DB& db, const LIST& params, IfcSweptDiskSolidPolygonal* in)
  5735. {
  5736. size_t base = GenericFill(db,params,static_cast<IfcSweptDiskSolid*>(in));
  5737. // this data structure is not used yet, so there is no code generated to fill its members
  5738. return base;
  5739. }
  5740. // -----------------------------------------------------------------------------------------------------------
  5741. template <> size_t GenericFill<IfcSwitchingDevice>(const DB& db, const LIST& params, IfcSwitchingDevice* in)
  5742. {
  5743. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  5744. // this data structure is not used yet, so there is no code generated to fill its members
  5745. return base;
  5746. }
  5747. // -----------------------------------------------------------------------------------------------------------
  5748. template <> size_t GenericFill<IfcSwitchingDeviceType>(const DB& db, const LIST& params, IfcSwitchingDeviceType* in)
  5749. {
  5750. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  5751. // this data structure is not used yet, so there is no code generated to fill its members
  5752. return base;
  5753. }
  5754. // -----------------------------------------------------------------------------------------------------------
  5755. template <> size_t GenericFill<IfcSystemFurnitureElement>(const DB& db, const LIST& params, IfcSystemFurnitureElement* in)
  5756. {
  5757. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElement*>(in));
  5758. // this data structure is not used yet, so there is no code generated to fill its members
  5759. return base;
  5760. }
  5761. // -----------------------------------------------------------------------------------------------------------
  5762. template <> size_t GenericFill<IfcSystemFurnitureElementType>(const DB& db, const LIST& params, IfcSystemFurnitureElementType* in)
  5763. {
  5764. size_t base = GenericFill(db,params,static_cast<IfcFurnishingElementType*>(in));
  5765. // this data structure is not used yet, so there is no code generated to fill its members
  5766. return base;
  5767. }
  5768. // -----------------------------------------------------------------------------------------------------------
  5769. template <> size_t GenericFill<IfcTShapeProfileDef>(const DB& db, const LIST& params, IfcTShapeProfileDef* in)
  5770. {
  5771. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5772. // this data structure is not used yet, so there is no code generated to fill its members
  5773. return base;
  5774. }
  5775. // -----------------------------------------------------------------------------------------------------------
  5776. template <> size_t GenericFill<IfcTank>(const DB& db, const LIST& params, IfcTank* in)
  5777. {
  5778. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDevice*>(in));
  5779. // this data structure is not used yet, so there is no code generated to fill its members
  5780. return base;
  5781. }
  5782. // -----------------------------------------------------------------------------------------------------------
  5783. template <> size_t GenericFill<IfcTankType>(const DB& db, const LIST& params, IfcTankType* in)
  5784. {
  5785. size_t base = GenericFill(db,params,static_cast<IfcFlowStorageDeviceType*>(in));
  5786. // this data structure is not used yet, so there is no code generated to fill its members
  5787. return base;
  5788. }
  5789. // -----------------------------------------------------------------------------------------------------------
  5790. template <> size_t GenericFill<IfcTask>(const DB& db, const LIST& params, IfcTask* in)
  5791. {
  5792. size_t base = GenericFill(db,params,static_cast<IfcProcess*>(in));
  5793. // this data structure is not used yet, so there is no code generated to fill its members
  5794. return base;
  5795. }
  5796. // -----------------------------------------------------------------------------------------------------------
  5797. template <> size_t GenericFill<IfcTaskType>(const DB& db, const LIST& params, IfcTaskType* in)
  5798. {
  5799. size_t base = GenericFill(db,params,static_cast<IfcTypeProcess*>(in));
  5800. // this data structure is not used yet, so there is no code generated to fill its members
  5801. return base;
  5802. }
  5803. // -----------------------------------------------------------------------------------------------------------
  5804. template <> size_t GenericFill<IfcTendon>(const DB& db, const LIST& params, IfcTendon* in)
  5805. {
  5806. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  5807. // this data structure is not used yet, so there is no code generated to fill its members
  5808. return base;
  5809. }
  5810. // -----------------------------------------------------------------------------------------------------------
  5811. template <> size_t GenericFill<IfcTendonAnchor>(const DB& db, const LIST& params, IfcTendonAnchor* in)
  5812. {
  5813. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElement*>(in));
  5814. // this data structure is not used yet, so there is no code generated to fill its members
  5815. return base;
  5816. }
  5817. // -----------------------------------------------------------------------------------------------------------
  5818. template <> size_t GenericFill<IfcTendonAnchorType>(const DB& db, const LIST& params, IfcTendonAnchorType* in)
  5819. {
  5820. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  5821. // this data structure is not used yet, so there is no code generated to fill its members
  5822. return base;
  5823. }
  5824. // -----------------------------------------------------------------------------------------------------------
  5825. template <> size_t GenericFill<IfcTendonType>(const DB& db, const LIST& params, IfcTendonType* in)
  5826. {
  5827. size_t base = GenericFill(db,params,static_cast<IfcReinforcingElementType*>(in));
  5828. // this data structure is not used yet, so there is no code generated to fill its members
  5829. return base;
  5830. }
  5831. // -----------------------------------------------------------------------------------------------------------
  5832. template <> size_t GenericFill<IfcTextLiteral>(const DB& db, const LIST& params, IfcTextLiteral* in)
  5833. {
  5834. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  5835. // this data structure is not used yet, so there is no code generated to fill its members
  5836. return base;
  5837. }
  5838. // -----------------------------------------------------------------------------------------------------------
  5839. template <> size_t GenericFill<IfcTextLiteralWithExtent>(const DB& db, const LIST& params, IfcTextLiteralWithExtent* in)
  5840. {
  5841. size_t base = GenericFill(db,params,static_cast<IfcTextLiteral*>(in));
  5842. // this data structure is not used yet, so there is no code generated to fill its members
  5843. return base;
  5844. }
  5845. // -----------------------------------------------------------------------------------------------------------
  5846. template <> size_t GenericFill<IfcTopologyRepresentation>(const DB& db, const LIST& params, IfcTopologyRepresentation* in)
  5847. {
  5848. size_t base = GenericFill(db,params,static_cast<IfcShapeModel*>(in));
  5849. // this data structure is not used yet, so there is no code generated to fill its members
  5850. return base;
  5851. }
  5852. // -----------------------------------------------------------------------------------------------------------
  5853. template <> size_t GenericFill<IfcToroidalSurface>(const DB& db, const LIST& params, IfcToroidalSurface* in)
  5854. {
  5855. size_t base = GenericFill(db,params,static_cast<IfcElementarySurface*>(in));
  5856. // this data structure is not used yet, so there is no code generated to fill its members
  5857. return base;
  5858. }
  5859. // -----------------------------------------------------------------------------------------------------------
  5860. template <> size_t GenericFill<IfcTransformer>(const DB& db, const LIST& params, IfcTransformer* in)
  5861. {
  5862. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5863. // this data structure is not used yet, so there is no code generated to fill its members
  5864. return base;
  5865. }
  5866. // -----------------------------------------------------------------------------------------------------------
  5867. template <> size_t GenericFill<IfcTransformerType>(const DB& db, const LIST& params, IfcTransformerType* in)
  5868. {
  5869. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5870. // this data structure is not used yet, so there is no code generated to fill its members
  5871. return base;
  5872. }
  5873. // -----------------------------------------------------------------------------------------------------------
  5874. template <> size_t GenericFill<IfcTransportElement>(const DB& db, const LIST& params, IfcTransportElement* in)
  5875. {
  5876. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  5877. // this data structure is not used yet, so there is no code generated to fill its members
  5878. return base;
  5879. }
  5880. // -----------------------------------------------------------------------------------------------------------
  5881. template <> size_t GenericFill<IfcTransportElementType>(const DB& db, const LIST& params, IfcTransportElementType* in)
  5882. {
  5883. size_t base = GenericFill(db,params,static_cast<IfcElementType*>(in));
  5884. // this data structure is not used yet, so there is no code generated to fill its members
  5885. return base;
  5886. }
  5887. // -----------------------------------------------------------------------------------------------------------
  5888. template <> size_t GenericFill<IfcTrapeziumProfileDef>(const DB& db, const LIST& params, IfcTrapeziumProfileDef* in)
  5889. {
  5890. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5891. // this data structure is not used yet, so there is no code generated to fill its members
  5892. return base;
  5893. }
  5894. // -----------------------------------------------------------------------------------------------------------
  5895. template <> size_t GenericFill<IfcTriangulatedFaceSet>(const DB& db, const LIST& params, IfcTriangulatedFaceSet* in)
  5896. {
  5897. size_t base = GenericFill(db,params,static_cast<IfcTessellatedFaceSet*>(in));
  5898. // this data structure is not used yet, so there is no code generated to fill its members
  5899. return base;
  5900. }
  5901. // -----------------------------------------------------------------------------------------------------------
  5902. template <> size_t GenericFill<IfcTrimmedCurve>(const DB& db, const LIST& params, IfcTrimmedCurve* in)
  5903. {
  5904. size_t base = GenericFill(db,params,static_cast<IfcBoundedCurve*>(in));
  5905. if (params.GetSize() < 5) { throw STEP::TypeError("expected 5 arguments to IfcTrimmedCurve"); } do { // convert the 'BasisCurve' argument
  5906. boost::shared_ptr<const DataType> arg = params[base++];
  5907. try { GenericConvert( in->BasisCurve, arg, db ); break; }
  5908. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcTrimmedCurve to be a `IfcCurve`")); }
  5909. } while(0);
  5910. do { // convert the 'Trim1' argument
  5911. boost::shared_ptr<const DataType> arg = params[base++];
  5912. try { GenericConvert( in->Trim1, arg, db ); break; }
  5913. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  5914. } while(0);
  5915. do { // convert the 'Trim2' argument
  5916. boost::shared_ptr<const DataType> arg = params[base++];
  5917. try { GenericConvert( in->Trim2, arg, db ); break; }
  5918. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 2 to IfcTrimmedCurve to be a `SET [1:2] OF IfcTrimmingSelect`")); }
  5919. } while(0);
  5920. do { // convert the 'SenseAgreement' argument
  5921. boost::shared_ptr<const DataType> arg = params[base++];
  5922. try { GenericConvert( in->SenseAgreement, arg, db ); break; }
  5923. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 3 to IfcTrimmedCurve to be a `IfcBoolean`")); }
  5924. } while(0);
  5925. do { // convert the 'MasterRepresentation' argument
  5926. boost::shared_ptr<const DataType> arg = params[base++];
  5927. try { GenericConvert( in->MasterRepresentation, arg, db ); break; }
  5928. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 4 to IfcTrimmedCurve to be a `IfcTrimmingPreference`")); }
  5929. } while(0);
  5930. return base;
  5931. }
  5932. // -----------------------------------------------------------------------------------------------------------
  5933. template <> size_t GenericFill<IfcTubeBundle>(const DB& db, const LIST& params, IfcTubeBundle* in)
  5934. {
  5935. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5936. // this data structure is not used yet, so there is no code generated to fill its members
  5937. return base;
  5938. }
  5939. // -----------------------------------------------------------------------------------------------------------
  5940. template <> size_t GenericFill<IfcTubeBundleType>(const DB& db, const LIST& params, IfcTubeBundleType* in)
  5941. {
  5942. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5943. // this data structure is not used yet, so there is no code generated to fill its members
  5944. return base;
  5945. }
  5946. // -----------------------------------------------------------------------------------------------------------
  5947. template <> size_t GenericFill<IfcUShapeProfileDef>(const DB& db, const LIST& params, IfcUShapeProfileDef* in)
  5948. {
  5949. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  5950. // this data structure is not used yet, so there is no code generated to fill its members
  5951. return base;
  5952. }
  5953. // -----------------------------------------------------------------------------------------------------------
  5954. template <> size_t GenericFill<IfcUnitAssignment>(const DB& db, const LIST& params, IfcUnitAssignment* in)
  5955. {
  5956. size_t base = 0;
  5957. if (params.GetSize() < 1) { throw STEP::TypeError("expected 1 arguments to IfcUnitAssignment"); } do { // convert the 'Units' argument
  5958. boost::shared_ptr<const DataType> arg = params[base++];
  5959. try { GenericConvert( in->Units, arg, db ); break; }
  5960. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcUnitAssignment to be a `SET [1:?] OF IfcUnit`")); }
  5961. } while(0);
  5962. return base;
  5963. }
  5964. // -----------------------------------------------------------------------------------------------------------
  5965. template <> size_t GenericFill<IfcUnitaryControlElement>(const DB& db, const LIST& params, IfcUnitaryControlElement* in)
  5966. {
  5967. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElement*>(in));
  5968. // this data structure is not used yet, so there is no code generated to fill its members
  5969. return base;
  5970. }
  5971. // -----------------------------------------------------------------------------------------------------------
  5972. template <> size_t GenericFill<IfcUnitaryControlElementType>(const DB& db, const LIST& params, IfcUnitaryControlElementType* in)
  5973. {
  5974. size_t base = GenericFill(db,params,static_cast<IfcDistributionControlElementType*>(in));
  5975. // this data structure is not used yet, so there is no code generated to fill its members
  5976. return base;
  5977. }
  5978. // -----------------------------------------------------------------------------------------------------------
  5979. template <> size_t GenericFill<IfcUnitaryEquipment>(const DB& db, const LIST& params, IfcUnitaryEquipment* in)
  5980. {
  5981. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDevice*>(in));
  5982. // this data structure is not used yet, so there is no code generated to fill its members
  5983. return base;
  5984. }
  5985. // -----------------------------------------------------------------------------------------------------------
  5986. template <> size_t GenericFill<IfcUnitaryEquipmentType>(const DB& db, const LIST& params, IfcUnitaryEquipmentType* in)
  5987. {
  5988. size_t base = GenericFill(db,params,static_cast<IfcEnergyConversionDeviceType*>(in));
  5989. // this data structure is not used yet, so there is no code generated to fill its members
  5990. return base;
  5991. }
  5992. // -----------------------------------------------------------------------------------------------------------
  5993. template <> size_t GenericFill<IfcValve>(const DB& db, const LIST& params, IfcValve* in)
  5994. {
  5995. size_t base = GenericFill(db,params,static_cast<IfcFlowController*>(in));
  5996. // this data structure is not used yet, so there is no code generated to fill its members
  5997. return base;
  5998. }
  5999. // -----------------------------------------------------------------------------------------------------------
  6000. template <> size_t GenericFill<IfcValveType>(const DB& db, const LIST& params, IfcValveType* in)
  6001. {
  6002. size_t base = GenericFill(db,params,static_cast<IfcFlowControllerType*>(in));
  6003. // this data structure is not used yet, so there is no code generated to fill its members
  6004. return base;
  6005. }
  6006. // -----------------------------------------------------------------------------------------------------------
  6007. template <> size_t GenericFill<IfcVector>(const DB& db, const LIST& params, IfcVector* in)
  6008. {
  6009. size_t base = GenericFill(db,params,static_cast<IfcGeometricRepresentationItem*>(in));
  6010. if (params.GetSize() < 2) { throw STEP::TypeError("expected 2 arguments to IfcVector"); } do { // convert the 'Orientation' argument
  6011. boost::shared_ptr<const DataType> arg = params[base++];
  6012. try { GenericConvert( in->Orientation, arg, db ); break; }
  6013. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 0 to IfcVector to be a `IfcDirection`")); }
  6014. } while(0);
  6015. do { // convert the 'Magnitude' argument
  6016. boost::shared_ptr<const DataType> arg = params[base++];
  6017. try { GenericConvert( in->Magnitude, arg, db ); break; }
  6018. catch (const TypeError& t) { throw TypeError(t.what() + std::string(" - expected argument 1 to IfcVector to be a `IfcLengthMeasure`")); }
  6019. } while(0);
  6020. return base;
  6021. }
  6022. // -----------------------------------------------------------------------------------------------------------
  6023. template <> size_t GenericFill<IfcVertex>(const DB& db, const LIST& params, IfcVertex* in)
  6024. {
  6025. size_t base = GenericFill(db,params,static_cast<IfcTopologicalRepresentationItem*>(in));
  6026. // this data structure is not used yet, so there is no code generated to fill its members
  6027. return base;
  6028. }
  6029. // -----------------------------------------------------------------------------------------------------------
  6030. template <> size_t GenericFill<IfcVertexLoop>(const DB& db, const LIST& params, IfcVertexLoop* in)
  6031. {
  6032. size_t base = GenericFill(db,params,static_cast<IfcLoop*>(in));
  6033. // this data structure is not used yet, so there is no code generated to fill its members
  6034. return base;
  6035. }
  6036. // -----------------------------------------------------------------------------------------------------------
  6037. template <> size_t GenericFill<IfcVertexPoint>(const DB& db, const LIST& params, IfcVertexPoint* in)
  6038. {
  6039. size_t base = GenericFill(db,params,static_cast<IfcVertex*>(in));
  6040. // this data structure is not used yet, so there is no code generated to fill its members
  6041. return base;
  6042. }
  6043. // -----------------------------------------------------------------------------------------------------------
  6044. template <> size_t GenericFill<IfcVibrationIsolator>(const DB& db, const LIST& params, IfcVibrationIsolator* in)
  6045. {
  6046. size_t base = GenericFill(db,params,static_cast<IfcElementComponent*>(in));
  6047. // this data structure is not used yet, so there is no code generated to fill its members
  6048. return base;
  6049. }
  6050. // -----------------------------------------------------------------------------------------------------------
  6051. template <> size_t GenericFill<IfcVibrationIsolatorType>(const DB& db, const LIST& params, IfcVibrationIsolatorType* in)
  6052. {
  6053. size_t base = GenericFill(db,params,static_cast<IfcElementComponentType*>(in));
  6054. // this data structure is not used yet, so there is no code generated to fill its members
  6055. return base;
  6056. }
  6057. // -----------------------------------------------------------------------------------------------------------
  6058. template <> size_t GenericFill<IfcVirtualElement>(const DB& db, const LIST& params, IfcVirtualElement* in)
  6059. {
  6060. size_t base = GenericFill(db,params,static_cast<IfcElement*>(in));
  6061. // this data structure is not used yet, so there is no code generated to fill its members
  6062. return base;
  6063. }
  6064. // -----------------------------------------------------------------------------------------------------------
  6065. template <> size_t GenericFill<IfcVoidingFeature>(const DB& db, const LIST& params, IfcVoidingFeature* in)
  6066. {
  6067. size_t base = GenericFill(db,params,static_cast<IfcFeatureElementSubtraction*>(in));
  6068. // this data structure is not used yet, so there is no code generated to fill its members
  6069. return base;
  6070. }
  6071. // -----------------------------------------------------------------------------------------------------------
  6072. template <> size_t GenericFill<IfcWall>(const DB& db, const LIST& params, IfcWall* in)
  6073. {
  6074. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  6075. // this data structure is not used yet, so there is no code generated to fill its members
  6076. return base;
  6077. }
  6078. // -----------------------------------------------------------------------------------------------------------
  6079. template <> size_t GenericFill<IfcWallElementedCase>(const DB& db, const LIST& params, IfcWallElementedCase* in)
  6080. {
  6081. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  6082. // this data structure is not used yet, so there is no code generated to fill its members
  6083. return base;
  6084. }
  6085. // -----------------------------------------------------------------------------------------------------------
  6086. template <> size_t GenericFill<IfcWallStandardCase>(const DB& db, const LIST& params, IfcWallStandardCase* in)
  6087. {
  6088. size_t base = GenericFill(db,params,static_cast<IfcWall*>(in));
  6089. // this data structure is not used yet, so there is no code generated to fill its members
  6090. return base;
  6091. }
  6092. // -----------------------------------------------------------------------------------------------------------
  6093. template <> size_t GenericFill<IfcWallType>(const DB& db, const LIST& params, IfcWallType* in)
  6094. {
  6095. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  6096. // this data structure is not used yet, so there is no code generated to fill its members
  6097. return base;
  6098. }
  6099. // -----------------------------------------------------------------------------------------------------------
  6100. template <> size_t GenericFill<IfcWasteTerminal>(const DB& db, const LIST& params, IfcWasteTerminal* in)
  6101. {
  6102. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminal*>(in));
  6103. // this data structure is not used yet, so there is no code generated to fill its members
  6104. return base;
  6105. }
  6106. // -----------------------------------------------------------------------------------------------------------
  6107. template <> size_t GenericFill<IfcWasteTerminalType>(const DB& db, const LIST& params, IfcWasteTerminalType* in)
  6108. {
  6109. size_t base = GenericFill(db,params,static_cast<IfcFlowTerminalType*>(in));
  6110. // this data structure is not used yet, so there is no code generated to fill its members
  6111. return base;
  6112. }
  6113. // -----------------------------------------------------------------------------------------------------------
  6114. template <> size_t GenericFill<IfcWindow>(const DB& db, const LIST& params, IfcWindow* in)
  6115. {
  6116. size_t base = GenericFill(db,params,static_cast<IfcBuildingElement*>(in));
  6117. // this data structure is not used yet, so there is no code generated to fill its members
  6118. return base;
  6119. }
  6120. // -----------------------------------------------------------------------------------------------------------
  6121. template <> size_t GenericFill<IfcWindowStandardCase>(const DB& db, const LIST& params, IfcWindowStandardCase* in)
  6122. {
  6123. size_t base = GenericFill(db,params,static_cast<IfcWindow*>(in));
  6124. // this data structure is not used yet, so there is no code generated to fill its members
  6125. return base;
  6126. }
  6127. // -----------------------------------------------------------------------------------------------------------
  6128. template <> size_t GenericFill<IfcWindowStyle>(const DB& db, const LIST& params, IfcWindowStyle* in)
  6129. {
  6130. size_t base = GenericFill(db,params,static_cast<IfcTypeProduct*>(in));
  6131. // this data structure is not used yet, so there is no code generated to fill its members
  6132. return base;
  6133. }
  6134. // -----------------------------------------------------------------------------------------------------------
  6135. template <> size_t GenericFill<IfcWindowType>(const DB& db, const LIST& params, IfcWindowType* in)
  6136. {
  6137. size_t base = GenericFill(db,params,static_cast<IfcBuildingElementType*>(in));
  6138. // this data structure is not used yet, so there is no code generated to fill its members
  6139. return base;
  6140. }
  6141. // -----------------------------------------------------------------------------------------------------------
  6142. template <> size_t GenericFill<IfcWorkCalendar>(const DB& db, const LIST& params, IfcWorkCalendar* in)
  6143. {
  6144. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  6145. // this data structure is not used yet, so there is no code generated to fill its members
  6146. return base;
  6147. }
  6148. // -----------------------------------------------------------------------------------------------------------
  6149. template <> size_t GenericFill<IfcWorkControl>(const DB& db, const LIST& params, IfcWorkControl* in)
  6150. {
  6151. size_t base = GenericFill(db,params,static_cast<IfcControl*>(in));
  6152. // this data structure is not used yet, so there is no code generated to fill its members
  6153. return base;
  6154. }
  6155. // -----------------------------------------------------------------------------------------------------------
  6156. template <> size_t GenericFill<IfcWorkPlan>(const DB& db, const LIST& params, IfcWorkPlan* in)
  6157. {
  6158. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  6159. // this data structure is not used yet, so there is no code generated to fill its members
  6160. return base;
  6161. }
  6162. // -----------------------------------------------------------------------------------------------------------
  6163. template <> size_t GenericFill<IfcWorkSchedule>(const DB& db, const LIST& params, IfcWorkSchedule* in)
  6164. {
  6165. size_t base = GenericFill(db,params,static_cast<IfcWorkControl*>(in));
  6166. // this data structure is not used yet, so there is no code generated to fill its members
  6167. return base;
  6168. }
  6169. // -----------------------------------------------------------------------------------------------------------
  6170. template <> size_t GenericFill<IfcZShapeProfileDef>(const DB& db, const LIST& params, IfcZShapeProfileDef* in)
  6171. {
  6172. size_t base = GenericFill(db,params,static_cast<IfcParameterizedProfileDef*>(in));
  6173. // this data structure is not used yet, so there is no code generated to fill its members
  6174. return base;
  6175. }
  6176. // -----------------------------------------------------------------------------------------------------------
  6177. template <> size_t GenericFill<IfcZone>(const DB& db, const LIST& params, IfcZone* in)
  6178. {
  6179. size_t base = GenericFill(db,params,static_cast<IfcSystem*>(in));
  6180. // this data structure is not used yet, so there is no code generated to fill its members
  6181. return base;
  6182. }
  6183. } // ! STEP
  6184. } // ! Assimp
  6185. #endif