| Trees | Indices | Help |
|
|---|
|
|
Represents a file specification that divides the path into a directory and
basename. The string values of the paths are put into uniqued string pools
for fast comparisons and efficient memory usage.
For example, the following code
lineEntry = context.GetLineEntry()
self.expect(lineEntry.GetFileSpec().GetDirectory(), 'The line entry should have the correct directory',
exe=False,
substrs = [self.mydir])
self.expect(lineEntry.GetFileSpec().GetFilename(), 'The line entry should have the correct filename',
exe=False,
substrs = ['main.c'])
self.assertTrue(lineEntry.GetLine() == self.line,
'The line entry's line number should match ')
gets the line entry from the symbol context when a thread is stopped.
It gets the file spec corresponding to the line entry and checks that
the filename and the directory matches what we expect.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
__swig_setmethods__ =
|
|||
__swig_getmethods__ = {}
|
|||
|
|||
|
basename A read only property that returns the path basename as a python string. |
|||
|
dirname A read only property that returns the path directory name as a python string. |
|||
|
exists A read only property that returns a boolean value that indicates if the file exists. |
|||
|
fullpath A read only property that returns the fullpath as a python string. |
|||
|
Inherited from |
|||
|
|||
x.__setattr__('name', value) <==> x.name = value
|
repr(x)
|
__init__(lldb::SBFileSpec self) -> SBFileSpec __init__(lldb::SBFileSpec self, SBFileSpec rhs) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path) -> SBFileSpec __init__(lldb::SBFileSpec self, str const * path, bool resolve) -> SBFileSpec
|
__str__(SBFileSpec self) -> PyObject *
|
|
|||
basenameA read only property that returns the path basename as a python string.
|
dirnameA read only property that returns the path directory name as a python string.
|
existsA read only property that returns a boolean value that indicates if the file exists.
|
fullpathA read only property that returns the fullpath as a python string.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Oct 14 13:55:26 2016 | http://epydoc.sourceforge.net |