File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef TargetBodyList_H
2 #define TargetBodyList_H
16 class QXmlStreamWriter;
20 class XmlStackedHandlerReader;
54 iterator
erase(iterator pos);
55 iterator
erase(iterator begin, iterator end);
113 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
114 const QString &qName,
const QXmlAttributes &atts);
115 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
116 const QString &qName);
119 Q_DISABLE_COPY(XmlHandler);
Q_DECLARE_METATYPE(Isis::TargetBodyList *)
QDebug operator<<(QDebug dbg, const Isis::Angle &angleToPrint)
Display an Angle for a debugging statement.
Definition: Angle.cpp:368
TargetBodyList & operator=(const QList< TargetBodyQsp > &rhs)
Assignment operator for a QList of TargetBodyQsp.
Definition: TargetBodyList.cpp:473
TargetBodyList(QString name, QString path, QObject *parent=NULL)
Create an target body list from an target body list name and path (does not read TargetBody objects).
Definition: TargetBodyList.cpp:38
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
TargetBodyQsp takeAt(int i)
Removes and returns the TargetBody at a specific index.
Definition: TargetBodyList.cpp:357
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Delete all of the contained TargetBody objects from disk (see TargetBody::deleteFromDisk())
Definition: TargetBodyList.cpp:726
TargetBodyQsp takeLast()
Removes and returns the last TargetBody in the list.
Definition: TargetBodyList.cpp:385
File name manipulation and expansion.
Definition: FileName.h:100
bool allSupport(TargetBodyDisplayProperties::Property prop)
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
TargetBodyList & operator+=(const QList< TargetBodyQsp > &other)
Appends another TargetBodyList to the list.
Definition: TargetBodyList.cpp:401
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
void push_back(TargetBodyQsp const &value)
Appends a TargetBody to the end of the list.
Definition: TargetBodyList.cpp:238
QList< QAction * > supportedActions(Project *project=NULL)
void setPath(QString newPath)
Set the relative path (from the project root) to this target body list's folder.
Definition: TargetBodyList.cpp:661
void countChanged(int newCount)
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
void push_front(TargetBodyQsp const &value)
Insertes a TargetBody at the front of the list.
Definition: TargetBodyList.cpp:251
void removeAt(int i)
Removes the TargetBody at a specific index.
Definition: TargetBodyList.cpp:284
The main project for ipce.
Definition: Project.h:289
void removeLast()
Removes the last TargetBody from the list.
Definition: TargetBodyList.cpp:306
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Property
This is a list of properties and actions that are possible.
Definition: TargetBodyDisplayProperties.h:69
void insert(int i, TargetBodyQsp const &value)
Inserts a TargetBody at a specific index.
Definition: TargetBodyList.cpp:193
TargetBodyList & operator<<(const QList< TargetBodyQsp > &other)
Appends another TargetBodyList to the list.
Definition: TargetBodyList.cpp:437
List for holding TargetBodies.
Definition: TargetBodyList.h:33
void removeFirst()
Removes the first TargetBody from the list.
Definition: TargetBodyList.cpp:295
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
void clear()
clears the list.
Definition: TargetBodyList.cpp:143
~TargetBodyList()
Create an target body list from a list of target body file names.
Definition: TargetBodyList.cpp:108
QString name() const
Get the human-readable name of this target body list.
Definition: TargetBodyList.cpp:671
void append(TargetBodyQsp const &value)
Appends a TargetBody to the list.
Definition: TargetBodyList.cpp:119
QString path() const
Get the path to these target body objects in the list (relative to project root).
Definition: TargetBodyList.cpp:683
void setName(QString newName)
Gets a list of pre-connected actions that have to do with display, such as color, alpha,...
Definition: TargetBodyList.cpp:650
void setName(QString newName)
Change the project's name (GUI only, doesn't affect location on disk).
Definition: Project.cpp:1684
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
int removeAll(TargetBodyQsp const &value)
Removes all occurrences of a TargetBody and returns the number removed.
Definition: TargetBodyList.cpp:266
void swap(QList< TargetBodyQsp > &other)
Swaps the list with another TargetBodyList.
Definition: TargetBodyList.cpp:339
void prepend(TargetBodyQsp const &value)
Inserts a TargetBody at the front of the list.
Definition: TargetBodyList.cpp:225
iterator erase(iterator pos)
Erases the TargetBody associated with an iterator.
Definition: TargetBodyList.cpp:159
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
TargetBodyQsp takeFirst()
Removes and returns the first TargetBody in the list.
Definition: TargetBodyList.cpp:371
bool removeOne(TargetBodyQsp const &value)
Removes the first occurrence of a TargetBody from the list.
Definition: TargetBodyList.cpp:321