Documentation ¶
Index ¶
- func ComputePriority(lib *libraries.Library, header, arch string) int
- type Cpp
- func (resolver *Cpp) AlternativesFor(header string) libraries.List
- func (resolver *Cpp) ResolveFor(header, architecture string) *libraries.Library
- func (resolver *Cpp) ScanFromLibrariesManager(lm *librariesmanager.LibrariesManager) error
- func (resolver *Cpp) ScanIDEBuiltinLibraries(lm *librariesmanager.LibrariesManager) error
- func (resolver *Cpp) ScanLibrary(lib *libraries.Library) error
- func (resolver *Cpp) ScanPlatformLibraries(lm *librariesmanager.LibrariesManager, platform *cores.PlatformRelease) error
- func (resolver *Cpp) ScanUserAndUnmanagedLibraries(lm *librariesmanager.LibrariesManager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cpp ¶
type Cpp struct {
// contains filtered or unexported fields
}
Cpp finds libraries made for the C++ language
func (*Cpp) AlternativesFor ¶
AlternativesFor returns all the libraries that provides the specified header
func (*Cpp) ResolveFor ¶
ResolveFor finds the most suitable library for the specified combination of header and architecture. If no libraries provides the requested header, nil is returned
func (*Cpp) ScanFromLibrariesManager ¶
func (resolver *Cpp) ScanFromLibrariesManager(lm *librariesmanager.LibrariesManager) error
ScanFromLibrariesManager reads all librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval
func (*Cpp) ScanIDEBuiltinLibraries ¶
func (resolver *Cpp) ScanIDEBuiltinLibraries(lm *librariesmanager.LibrariesManager) error
ScanIDEBuiltinLibraries reads ide-builtin librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.
func (*Cpp) ScanLibrary ¶
ScanLibrary reads a library to find and cache C++ headers for later retrieval
func (*Cpp) ScanPlatformLibraries ¶
func (resolver *Cpp) ScanPlatformLibraries(lm *librariesmanager.LibrariesManager, platform *cores.PlatformRelease) error
ScanPlatformLibraries reads platform-bundled libraries for a specific platform loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.
func (*Cpp) ScanUserAndUnmanagedLibraries ¶
func (resolver *Cpp) ScanUserAndUnmanagedLibraries(lm *librariesmanager.LibrariesManager) error
ScanUserAndUnmanagedLibraries reads user/unmanaged librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.