Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BDIO.jl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Ramos
BDIO.jl
Commits
02e9d648
Commit
02e9d648
authored
Oct 22, 2019
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated documentation. Added external to set_user and set_host
parent
3923ce63
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
21 deletions
+30
-21
docs/src/index.md
docs/src/index.md
+15
-16
src/BDIO.jl
src/BDIO.jl
+1
-1
src/BDIOmethods.jl
src/BDIOmethods.jl
+14
-4
No files found.
docs/src/index.md
View file @
02e9d648
...
@@ -9,41 +9,40 @@ files in Julia.
...
@@ -9,41 +9,40 @@ files in Julia.
```
@index
```
@index
```
```
## Externally callable functions
##
#
Setting up global information
## Setting up global information
```
@docs
```
@docs
BDIO
.BDIO
_set_user
BDIO_set_user
BDIO
.BDIO
_set_host
BDIO_set_host
```
```
### Openning `BDIO` files
### Openning `BDIO` files
```
@docs
```
@docs
BDIO
.BDIO
_open
BDIO_open
```
```
##
#
Writing data to `BDIO` files
## Writing data to `BDIO` files
```
@docs
```
@docs
BDIO
.BDIO
_start_record!
BDIO_start_record!
BDIO
.BDIO
_write!
BDIO_write!
BDIO
.BDIO
_write_hash!
BDIO_write_hash!
```
```
##
#
Reading data from `BDIO` files
## Reading data from `BDIO` files
```
@docs
```
@docs
BDIO
.BDIO
_read
BDIO_read
BDIO
.BDIO
_seek!
BDIO_seek!
```
```
##
#
Obtaining information about `BDIO` records
## Obtaining information about `BDIO` records
```
@docs
```
@docs
BDIO
.BDIO
_get_uinfo
BDIO_get_uinfo
BDIO
.BDIO
_get_len
BDIO_get_len
BDIO
.BDIO
_get_fmt
BDIO_get_fmt
```
```
src/BDIO.jl
View file @
02e9d648
...
@@ -21,6 +21,6 @@ export BDIO_BIN_GENERIC, BDIO_ASC_EXEC, BDIO_BIN_INT32BE,
...
@@ -21,6 +21,6 @@ export BDIO_BIN_GENERIC, BDIO_ASC_EXEC, BDIO_BIN_INT32BE,
# Methods
# Methods
export
BDIOstream
,
BDIO_open
,
BDIO_start_record!
,
BDIO_write_hash!
,
export
BDIOstream
,
BDIO_open
,
BDIO_start_record!
,
BDIO_write_hash!
,
BDIO_write!
,
BDIO_seek!
,
BDIO_get_len
,
BDIO_get_fmt
,
BDIO_write!
,
BDIO_seek!
,
BDIO_get_len
,
BDIO_get_fmt
,
BDIO_get_uinfo
,
BDIO_read
BDIO_get_uinfo
,
BDIO_read
,
BDIO_set_user
,
BDIO_set_host
end
# module
end
# module
src/BDIOmethods.jl
View file @
02e9d648
"""
"""
Set user name globally for writing BDIO files.
Set user name globally for writing BDIO files.
### Example
### Arguments
BDIO_set_user("
alberto
")
- us: The user name
### Examples
```julia-repl
julia> BDIO_set_user("
alberto
")
```
"""
"""
function
BDIO_set_user
(
us
::
String
)
function
BDIO_set_user
(
us
::
String
)
global
user
=
SubString
(
us
*
user
,
1
,
255
)
global
user
=
SubString
(
us
*
user
,
1
,
255
)
...
@@ -12,8 +17,13 @@ end
...
@@ -12,8 +17,13 @@ end
"""
"""
Set host machine globally for writing BDIO files.
Set host machine globally for writing BDIO files.
### Example
### Arguments
BDIO_set_host("
HLRN
")
- us: The user name
### Examples
```julia-repl
julia> BDIO_set_host("
HLRN
")
```
"""
"""
function
BDIO_set_host
(
us
::
String
)
function
BDIO_set_host
(
us
::
String
)
global
host
=
SubString
(
us
*
host
,
1
,
255
)
global
host
=
SubString
(
us
*
host
,
1
,
255
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment