source: trunk/packages/vizservers/nanovis/ParticleSystemFactory.h @ 2798

Last change on this file since 2798 was 2798, checked in by ldelgass, 13 years ago

Add emacs mode magic line in preparation for indentation cleanup

  • Property svn:eol-style set to native
File size: 712 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2#pragma once
3
4#include <string>
5#ifdef _WIN32
6#include <expat/expat.h>
7#else
8#include <expat.h>
9#endif
10
11class ParticleSystem;
12
13class ParticleSystemFactory {
14        ParticleSystem* _newParticleSystem;
15public :
16        ParticleSystemFactory();
17        ~ParticleSystemFactory();
18
19private :
20        void parseParticleSysInfo(const char** attrs);
21        void parseEmitterInfo(const char**attrs);
22
23private :
24        static void endElement(void *userData, const char *name);
25        static void startElement(void *userData, const char *elementName, const char **attrs);
26        static void text(void *data, const XML_Char *txt, int len);
27
28public :
29        ParticleSystem* create(const std::string& fileName);
30       
31};
Note: See TracBrowser for help on using the repository browser.