Browse Source

Added a property to get the qualified name of a declaration.

pull/1/head
triton 12 years ago
parent
commit
bff470cba4
  1. 11
      src/Bridge/Declaration.cs

11
src/Bridge/Declaration.cs

@ -51,6 +51,17 @@ namespace Cxxi @@ -51,6 +51,17 @@ namespace Cxxi
}
}
public string QualifiedName
{
get
{
if (Namespace == null)
return Name;
return Namespace.IsRoot ? Name
: string.Format("{0}::{1}", Namespace.QualifiedName, Name);
}
}
// Name of the declaration.
public string OriginalName;

Loading…
Cancel
Save