Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
corpus2
Commits
b402146a
Commit
b402146a
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
Added typedef for boost::shared_ptr<TokenReader>
parent
81d7a1fe
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libcorpus2/io/reader.h
+4
-2
4 additions, 2 deletions
libcorpus2/io/reader.h
with
4 additions
and
2 deletions
libcorpus2/io/reader.h
+
4
−
2
View file @
b402146a
...
...
@@ -36,6 +36,8 @@ namespace Corpus2 {
class
TokenReader
:
public
TokenSource
{
public:
typedef
boost
::
shared_ptr
<
TokenReader
>
TokenReaderPtr
;
/// Constructor --- only a Tagset is needed
explicit
TokenReader
(
const
Tagset
&
tagset
);
...
...
@@ -46,7 +48,7 @@ public:
*
* Any files open will be closed by the reader.
*/
static
boost
::
shared_ptr
<
TokenReader
>
create_path_reader
(
static
TokenReader
Ptr
create_path_reader
(
const
std
::
string
&
class_id
,
const
Tagset
&
tagset
,
const
std
::
string
&
path
);
...
...
@@ -59,7 +61,7 @@ public:
* which is beyond what this interface allows). Attempting to create a
* reader that can not read a stream will result in an exception.
*/
static
boost
::
shared_ptr
<
TokenReader
>
create_stream_reader
(
static
TokenReader
Ptr
create_stream_reader
(
const
std
::
string
&
class_id
,
const
Tagset
&
tagset
,
std
::
istream
&
stream
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment