Holds a set of source files.
Public Member Functions | |
SourceFileSet (string basePath) | |
Creates a source file set with the given base path. This path is only used during CopyTo. More... | |
bool | IsIgnored (string name) |
Is the file/directory with the given name ignored? More... | |
void | Ignore (string name) |
Ignores the given file/directory name. E.g. "Editor" will ignore all folders called editor. More... | |
void | Add (string[] paths) |
Adds a set of files/directories to this set. More... | |
void | Add (string basePath) |
Adds a file/directory to this set. More... | |
bool | CopyTo (string path) |
Copies all files in this set to the given target location. Note that all paths in this set will first have BasePath remove from them.</sumamry> More... | |
void | Delete () |
Deletes all files in this set. Should be used with caution of course! Do note that this precompiler copies all source files first. More... | |
string[] | ToArray () |
Gets an array of files. More... | |
string[] | ToSourceArray () |
Reads all files into a set of source code. More... | |
Public Attributes | |
string | BasePath |
The part of the path we strip off when copying this file set elsewhere. More... | |
List< string > | Files =new List<string>() |
List< string > | Ignores =new List<string>() |
|
inline |
Creates a source file set with the given base path. This path is only used during CopyTo.
|
inline |
Adds a set of files/directories to this set.
|
inline |
Adds a file/directory to this set.
|
inline |
Copies all files in this set to the given target location. Note that all paths in this set will first have BasePath remove from them.</sumamry>
|
inline |
Deletes all files in this set. Should be used with caution of course! Do note that this precompiler copies all source files first.
|
inline |
Ignores the given file/directory name. E.g. "Editor" will ignore all folders called editor.
|
inline |
Is the file/directory with the given name ignored?
|
inline |
Gets an array of files.
|
inline |
Reads all files into a set of source code.
string Pico.SourceFileSet.BasePath |
The part of the path we strip off when copying this file set elsewhere.
List<string> Pico.SourceFileSet.Files =new List<string>() |
List<string> Pico.SourceFileSet.Ignores =new List<string>() |