Logo Search packages:      
Sourcecode: inkscape version File versions

buildtool::TaskRC Class Reference

Inheritance diagram for buildtool::TaskRC:

buildtool::MakeBase

List of all members.


Detailed Description

Run the "ar" command to archive .o's into a .a

Definition at line 7372 of file buildtool.cpp.


Public Types

enum  TaskType {
  TASK_NONE, TASK_CC, TASK_COPY, TASK_DELETE,
  TASK_JAR, TASK_JAVAC, TASK_LINK, TASK_MAKEFILE,
  TASK_MKDIR, TASK_MSGFMT, TASK_PKG_CONFIG, TASK_RANLIB,
  TASK_RC, TASK_SHAREDLIB, TASK_STATICLIB, TASK_STRIP,
  TASK_TOUCH, TASK_TSTAMP
}

Public Member Functions

Task * createTask (Element *elem, int lineNr)
virtual bool execute ()
bool getAttribute (Element *elem, const String &name, String &result)
int getLine ()
virtual String getName ()
virtual MakeBasegetParent ()
virtual String getProperty (const String &name)
virtual int getType ()
URI getURI ()
bool getValue (Element *elem, String &result)
virtual bool hasProperty (const String &name)
virtual bool parse (Element *elem)
String resolve (const String &otherPath)
void setLine (int val)
virtual void setProperty (const String &name, const String &val)
virtual void setType (int val)
void setURI (const String &uristr)
 TaskRC (MakeBase &par)

Protected Member Functions

void assign (const Task &other)
bool copyFile (const String &srcFile, const String &destFile)
bool createDirectory (const String &dirname)
void error (const char *fmt,...)
bool executeCommand (const String &call, const String &inbuf, String &outbuf, String &errbuf)
String getAttribute (Element *elem, const String &attrName)
bool getBool (const String &str, bool &val)
String getNativePath (const String &path)
virtual std::map< String,
String > & 
getProperties ()
String getSuffix (const String &fname)
void init ()
bool isDirectory (const String &fileName)
bool isNewerThan (const String &fileA, const String &fileB)
bool isRegularFile (const String &fileName)
String leftJustify (const String &s)
bool listDirectories (const String &baseName, const String &dirname, std::vector< String > &res)
bool listFiles (MakeBase &propRef, FileSet &fileSet)
bool listFiles (const String &baseName, const String &dirname, std::vector< String > &result)
bool parseFileSet (Element *elem, MakeBase &propRef, FileSet &fileSet)
bool parsePatternSet (Element *elem, MakeBase &propRef, std::vector< String > &includes, std::vector< String > &excludes)
bool regexMatch (const String &str, const String &pattern)
bool removeDirectory (const String &dirName)
void status (const char *fmt,...)
String strip (const String &s)
std::vector< String > tokenize (const String &val, const String &delimiters)
String toLower (const String &s)
void trace (const char *fmt,...)
String trim (const String &s)

Protected Attributes

String envPrefix
String name
MakeBaseparent
std::map< String, String > properties
int type
URI uri

Private Attributes

String command
String fileName
String flags
String outName

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index