Skip to content
Discussion options

You must be logged in to vote

Both the OSG and VSG's ReaderWriter mechanism support use of psuedo loaders that intercept file reads and can defer the implementation on to other loader then post processing the data.

The vsgXchange::curl loader is an example of this - intercepting the http or http to decide to handle the file request then doing the libcurl calls to get the data, then passing it on to the appropriate loader for final reading.

Just place your psuedo loader at the start of the vsg::Options::readerWriters list so it's called first.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@geocapp
Comment options

Answer selected by geocapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants