@ -141,9 +141,17 @@ namespace CppSharp
}
// Whether the declaration should be ignored.
public bool Ignore
public virtual bool Ignore
{
get { return IgnoreFlags != IgnoreFlags.None; }
get
var isIgnored = IgnoreFlags != IgnoreFlags.None;
if (Namespace != null)
isIgnored |= Namespace.Ignore;
return isIgnored;
// Contains debug text about the declaration.
@ -31,6 +31,12 @@ namespace CppSharp
get { return !IgnoreFlags.HasFlag(IgnoreFlags.Processing); }
// Whether the unit should be ignored.
public override bool Ignore
public bool IsSystemHeader { get; set; }
/// Contains the path to the file.