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

Last change on this file since 2860 was 2860, checked in by ldelgass, 7 years ago

Put class member declarations in standard order

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