~ubuntu-branches/ubuntu/saucy/libwpd/saucy

« back to all changes in this revision

Viewing changes to src/lib/WPXPropertyListVector.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111129233113-xdtwca9h0y6wdxst
Tags: 0.9.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
1
2
/* libwpd
2
3
 * Copyright (C) 2005 William Lachance (wrlach@gmail.com)
3
4
 * Copyright (C) 2005 Net Integration Technologies, Inc. (http://www.net-itech.com)
41
42
        void append(const WPXPropertyList &elem);
42
43
        void append(const WPXPropertyListVector &vec);
43
44
        unsigned long count() const;
44
 
        const WPXPropertyList& operator[](unsigned long index) const;
45
 
        WPXPropertyListVector& operator=(const WPXPropertyListVector& vect);
 
45
        const WPXPropertyList &operator[](unsigned long index) const;
 
46
        WPXPropertyListVector &operator=(const WPXPropertyListVector &vect);
46
47
 
47
48
        class Iter
48
49
        {
52
53
                void rewind();
53
54
                bool next();
54
55
                bool last();
55
 
                const WPXPropertyList & operator()() const;
 
56
                const WPXPropertyList &operator()() const;
56
57
 
57
58
        private:
58
59
                WPXPropertyListVectorIterImpl *m_iterImpl;
59
 
                Iter(const Iter&);
60
 
                Iter& operator=(const Iter&);
 
60
                Iter(const Iter &);
 
61
                Iter &operator=(const Iter &);
61
62
        };
62
63
 
63
64
        friend class WPXPropertyListVector::Iter;
67
68
};
68
69
 
69
70
#endif /* WPXPROPERTYLISTVECTOR_H */
 
71
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */