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

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

Put class member declarations in standard order

  • Property svn:eol-style set to native
File size: 726 bytes
RevLine 
[2798]1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
[2817]2#ifndef PARTICLESYSTEMFACTORY_H
3#define PARTICLESYSTEMFACTORY_H
[1704]4
5#include <string>
[2817]6
[1704]7#include <expat.h>
8
9class ParticleSystem;
10
[2803]11class ParticleSystemFactory
12{
[2818]13public:
[2803]14    ParticleSystemFactory();
15    ~ParticleSystemFactory();
[1704]16
[2817]17    ParticleSystem *create(const std::string& fileName);
[1704]18
[2818]19private:
[2817]20    void parseParticleSysInfo(const char **attrs);
21    void parseEmitterInfo(const char **attrs);
[1704]22
[2803]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);
[2860]26
27    ParticleSystem *_newParticleSystem;
[1704]28};
[2817]29
30#endif
Note: See TracBrowser for help on using the repository browser.